Here's the relevant part of my httpd.conf file:
- Code: Select all
Alias /blargh/ "C:/blargh/"
<Directory "C:/blargh">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Alias /mediaFiles/ "X:/Evaluation & Measurement/English Certification Test/Student DATA/"
<Directory "X:/Evaluation & Measurement/English Certification Test/Student DATA">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
The first one works just fine and that's on my local hard drive. The second one doesn't. If I remove the second <Directory> section, it'll start and run just fine, but I can't access the directory.
Apache service is set to log on with a username and password which has access to the network drive.
Now here's what's really weird: if I run apache through the command line, it runs just fine with both directories functioning as expected. It's when I try to run Apache through the XAMPP control panel that there are problems. If I do that, it simply starts then dies with no warning, no error log, no nothing.
So, is there something wrong with the syntax there or is it something else? I would really like to be able to start and stop Apache with the control panel rather than have to fight with the command line.
I really appreciate any help you can give me.