SVG with XAMPP 403 error - apache

i'm running XAMPP on my local Linux-Laptop and want to test some SVGs s on a website I develop locally, but XAMPP wont let me access them. This is what I get:
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
I googled for a bit, but I couldn't find a way to enable SVGs.
I'm using a standard XAMPP installation on Ubuntu 14.10 LTS.

Ok, thanks to Paul I discovered, that SVGs permission for "others" was set to "none". Setting it to "read only" fixed the problem.
Feel a bit stupid now >.<

Related

xampp apache server error 403 access forbidden on windows10

I've installed xampp in two different pc and in both of them it gives me the same error running windows10 (both with it). Apache server runs correctly, the ports are dedicated to httpd as it's supposed but when I try to access the folder of my website project to test the html files, google chrome, firefox and explorer show me a message saying: "Error 403 - access forbidden because you don't have the right permissions". I've tried everything that is in the other similar questions here and already gave permisions to all users in my folders, even to the whole drive c:. I also modified the txt files inside the folder /apache/conf/ and didn't work. I've seen that in some questions regarding the same matter, the file httpd.conf is a little bit different with parts that I can't see in mine. Thank you so much.
Finally, I solved the problem learning some more. I post it here in case someone is starting with it like me. The point is that when you install xampp, the program has a default folder where it let's you put your projects, it's called "htdocs". So that you can work only with project folders that you create inside this "htdocs" folder. If you try to create a new folder on c:/ for example, the program will not let you access beacuase of security (everybody could access all the folders on your computer, entering your server). I hope this to be of some help for someone else. Thank you, and sorry for the newbie question.

Apache 2.4.10 with VPS

I have a 1GB ram Apache 2.4.10 (MPM event) VPS, my user complained that they always encounter broken webpage or image was loaded frquently, when I try to use fiddler to investigate, I found content length mismatch problem occurred in those broken image/pages. Seems that Apache sometimes did not sent the whole file to the client. I already disable HTTP/206 in Apache server but problem still persisted.
Any idea on it ? Or i need to install the newest version 2.4.16 ?
Thanks.
I think you need to check your apache services error logs file so that you can find out the exact root cause of this issues. Please check that and let us know what error are you getting in error logs file ? We will try to help you on this with the that error logs.

"Cannot locate WordPress root directory," error while updating WordPress or installing any plugins

I am running WordPress on a CentOS server with Apache and Mysql and it was running smoothly a couple of days ago but when I am trying to install any plugin or update WordPress, it gives the error with the exact statement "Unable to locate WordPress root directory".
Any suggestions are welcome because I need to install a few plugins.
This error can be caused by the wrong FTP username being given (not an incorrect password – that would be trapped nicely by wordpress – but the username).
I guess this isn’t something that is going to happen often – moving a server and so changing the FTP username – but I’m glad I thought to read around before spending hours diagnosing the server.
This could be because of the web host you are using. If you are hosting it on a free web host it could be somewhat unstable. If you really want to test wordpress out to see how it would word if it did word correctly, try using WAMP.
http://www.wampserver.com/en/

Ubuntu 12.04 - Phpmyadmin - 403 forbidden

Background
I am running Ubuntu 12.04, and when i go to my url http://domain_name.com/phpmyadmin/ i am getting the error:
You don't have permission to access /phpmyadmin/ on this server.
I have used a symlink for phpmyadmin which points to
"usr/share/phpmyadmin"
it has permission 777.
Question
why is it showing as permission denied?
Thanks
Aiden
For security reasons Apache does not allow 777 permission.
You can use a hard link (ln) other than a soft link (ln -s).
Or
Download the PhpMyAdmin tarball from the site and decompress it in '/var/www/' directory as root. Then rename the directory to phpmyadmin(or something you need).
Then try to view it via a web browser 'http://localhost/phpmyadmin/'. In the initial stage you will see a wizard to setup PhpMyAdmin. (Sometimes you may need to change the permissions on 'config.inc.php', for that just follow the instructions on the wizard.)

Symlinks or Alias within a LAMPP setup running Joomla

Sorry for the imprecise wording of this question however I have really hit a wall here.
I have installed XAMPP/LAMPP on a machine running Debian. I then installed joomla on the installation of LAMPP. Everything is running correctly. I am now trying to add either a symlink or an Alias to the httpd.conf file. Which httpd.conf file should I edit?
I think I have somewhat correctly added something to the relevant files becuase the access log returns this:
GET /Archived/test.html HTTP/1.1" 403 1043
Obviously i'm getting 403 errors when I try to connect to the directory. I have tried applying permissions to everywhere I could think of. Any suggestions would be extremely helpful, thanks!