You are not logged in.
Pages: 1
Hello, I installed xampp from AUR and the installation was successful, but I followed the steps to the wiki:
https://wiki.archlinux.org/index.php/Xampp
....and i can not hosting files outside the htdocs directory. When I run a script such as php outside the htdocs directory get the following error:
...."Error 403"..., "....Permission Denied...."
Here my setup :
# nano /opt/lampp/etc/httpd.conf <Directory "/home/hector/webs">
Options Indexes FollowSymLinks ExecCGI Includes
AllowOverride All
Require all granted
</Directory><IfModule alias_module>
.................................................................................
#
ScriptAlias /cgi-bin/ "/opt/lampp/cgi-bin/"Alias /daw /home/hector/webs/
</IfModule>
..Also change conf file for apache (the archlinux wiki does not mention anything about this but I'm trying..).
# nano /opt/lampp/apache2/conf/httpd.confAlias /daw "/home/hector/webs"
#Alias /bitnami "/opt/lampp/apache2/htdocs"<Directory "/home/hector/webs">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
..After :
# /opt/lampp/lampp restartRestarting XAMPP for Linux 1.8.3-4...
XAMPP: Stopping Apache...ok.
XAMPP: Stopping MySQL...ok.
XAMPP: Stopping ProFTPD...ok.
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
Apparently everything is Ok, but unfortunately it does not work me ...Any ideas or suggestions ?
http://i273.photobucket.com/albums/jj22 … b63e07.png
Edit: Solution
Change the permission from my "home".
# chmod 755 /home/hector
drwxr-xr-x 38 hector users 4096 sep 21 12:35 hector
Originally my home permissions were these:
drwx------ 38 hector users 4096 sep 21 12:35 hector
Best Regards.
Last edited by colegui (2014-09-21 10:55:45)
Offline
You stated this was fixed, but for future reference, the Wiki had the answer as well:
Matt
"It is very difficult to educate the educated."
Offline
Pages: 1