Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Apache 2.4 service start error.

I installed Apache 2.4 on windows 2008 R2 server. In the httpd.conf I added a directory configuration.

<Directory "M:">
      AllowOverride None
      Require all granted
</Directory>

Apache service failed to start. If I comment out the whole "Directory" block the service started no problem.

The M drive is the mapped network drive. the account used to start Apache service has been granted as logon as service, act as operating system.

The eventlogs error:

The apache service named reported the following error:  <Directory "M:"> is invalid.

Any help is appreciated.

Thanks

share|improve this question
    
have you tried "Directory M:/"? –  ceejayoz May 21 '13 at 20:37
add comment

1 Answer 1

The Apache documentation warns that you should only use UNC paths in the configuration, and avoid attempting to use drive letters. If you must use a drive letter, append the / at the end, e.g. M:/.

share|improve this answer
add comment

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.