Posted by:
sandyRam
(---.pres.cable.virginmedia.com)
Hi, hope someone can help, I've been stuck with this problem for a few days and I'm getting nowhere.
I am running wampserver and have so far found it really easy to install and use.
Now I need to set up multiple folders for various projects and wish to use aliases to do so.
I have created a folder 'musicquiz', within the wamp folder - alongside the www folder.
I have created an alias via the wamp menu - and now have music.conf in my wamp/alias folder :
Alias /music/ "c:/wamp/musicquiz/"
<Directory "c:/wamp/musicquiz/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>
Within the 'musicquiz' folder I have some flat html files and some php files.
When I point my browser to [
localhost] the file displays correctly, which makes me think that the alias is working correctly.
However, when I try to open one of the php files such as [
localhost], my browser (firefox) asks what I want to do with the file: save / open with, rather than the file being processed as a .php file. The same test.php file is processed correctly when I save it in the www folder and simply run [
localhost].
It seems that I am missing something, but I don't know what. Have tried several times, used different names, tried manually creating the file etc but still no joy.
Please help!
I have wampserver 2 and am running on Windows 7.