I installed xampp but I can not set the alias.
ScriptAlias /cgi-bin/ "/opt/lampp/cgi-bin/" Alias /www2 /home/i-sty/www2 </IfModule\>
<Directory "/home/i-sty/www2"\> Options Indexes FollowSymLinks ExecCGI Includes \#AllowOverride All Allow from all Require all granted </Directory\>
And when I open the localhost/www2 address I get acces forbidden.
I change the permission of the www2 folder to 777.
What is the problem?
I want run php files from my home folder. First I created a symlink from /opt/lampp/htdocs/www to /home/i-sty/www, but this method doesn’t work, because the url was file://// neither than localhost/www/… So I tried to create a alias, but it doesn’t work