Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to be able to go to 127.0.0.1/multimedia/any_file.ext and see it like any other folder in htdocs. Here's what I'm trying in the configuration:

Alias "multimedia" "F://public_vids/"
<Directory "F://public_vids/">
  Options +Indexes
    Order allow,deny
    Allow from all
</Directory>

I've read the docs on the Apache website but not able to get it to work.

share|improve this question
up vote 0 down vote accepted

You'll want to specify a path relative to the web root; that is:

Alias /multimedia F://public_vids

I've heard quotes can mess up some of the Apache config settings, so I would try removing them from the Alias directive, just in case. If all else fails, try posting the relevant lines from your Apache access and error logs.

share|improve this answer
    
Okay thanks I'll try this, thanks for your help guys – Jeremy Dicaire Apr 5 '11 at 14:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.