Brodie Krause
asked on
Apache Redirect/Alias/Default Document?
We have a website hosted on an Apache server. (I am completely unfamiliar with the Apache platform, my experience is in IIS)
Our marketing department wants to publish a URL, www.site.com/directory and they want it to automatically pull up www.site.com/directory/testfile.html
In IIS, I'd just set the default document for that directory to the desired file.
I have no idea how to do this in Apache.
Our marketing department wants to publish a URL, www.site.com/directory and they want it to automatically pull up www.site.com/directory/testfile.html
In IIS, I'd just set the default document for that directory to the desired file.
I have no idea how to do this in Apache.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You could just change the name of the file to that of the default document. Wouldn't require you to change anything else.
Or add a symbolic link e.g.
cd /var/www/directory/
ln -s testfile.html index.html
cd /var/www/directory/
ln -s testfile.html index.html