G
grim_reaper
Guest
Hi!
I have a little problem regarding php.
I want to create the following Alias:
www.domain.com/test --> that's the Alias I want to create
www.domain.com/gugu/gaga/gigi/test/index.php --> that's the location the Alias should take me
I therefore edited the httpd.conf in /etc/apache2/ and added the following Line:
The thing is, the Alias works, but for some reason php does not!
When I type in www.domain.com/test the Browser asks me if I want to download the file.
When I do the same thing, but use a index.html file insted a *.php file, the Alias works perfectly.
Can anyone tell me what my problem could be???
I have a little problem regarding php.
I want to create the following Alias:
www.domain.com/test --> that's the Alias I want to create
www.domain.com/gugu/gaga/gigi/test/index.php --> that's the location the Alias should take me
I therefore edited the httpd.conf in /etc/apache2/ and added the following Line:
Alias /test /srv/www/vhost/domain.com/gugu/gaga/gigi/test/index.php
The thing is, the Alias works, but for some reason php does not!
When I type in www.domain.com/test the Browser asks me if I want to download the file.
When I do the same thing, but use a index.html file insted a *.php file, the Alias works perfectly.
Can anyone tell me what my problem could be???