Ask Experts Questions for FREE Help!
 

Free Answers in 3 Easy Steps

Register Now
3 Steps
 


Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.
  View Answers    Answer this question    Ask a question  
 

secretss
Oct 6, 2009, 04:14 AM
Hi, I'm new at setting up web servers so please be gentle with me, thanks!

My DocumentRoot is located at C:\Music, but I want to have my photo collection in my D drive to be up on the web as well. I have in my httpd.conf:

DocumentRoot "C:\Music"
Alias /Photos "D:\Photos"

<Directory "C:\Music">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>

But the alias isn't working. When I go to cPanel (http://localhost/) All I see are the folders under C:\Music.

The tutorial I followed to set up my web server is here (http://lifehacker.com/124212/geek-to-live--how-to-set-up-a-personal-home-web-server). I do not have PHP, JSP and/or MySQL installed. Can anyone tell me what the problem is? Thank you!

secretss
Oct 6, 2009, 05:21 AM
Oh, wait. It does work. When I enter the url into the address bar, it does show me the photos in the D drive.

I thought it didn't work because I assumed the aliased directory will show up as a link on the parent directory page together with my music files from DocumentRoot.