Forum Moderators: phranque

Message Too Old, No Replies

Set DocumentRoot to another hard disk (F:)

         

blasesmalo

9:32 am on Feb 25, 2005 (gmt 0)

10+ Year Member



Hi,

Iīm very novice to Apache and I need your help.

Iīve installed Apache 2.0 on XP and everything runs correctly (I installed it on itīs default directory C:/Program Files/Apache Group/Apache, and the default DocumentRoot is: C:/Program Files/Apache Group/Apache/htdocs)

Now I need to change my DocumentRoot to a directory under a separate hard disk (F:), the DocumentRoot should be "F:/openshowcenter"

If I change just the DocumentRoot value in the httpd.conf file, Apache service canīt be started.

Can you please point me to the right direction, I just need "F:/openshowcenter" to be my DocumentRoot directory but it doesīt seem to recognize the drive F:

Thanks in advance for your help
Regards

jdMorgan

4:20 pm on Feb 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



blasesmalo,

Welcome to WebmasterWorld!

I haven't done this before, but you could try aliasing the path to the drive [webmasterworld.com].

Jim

encyclo

4:30 pm on Feb 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've done this before on Windows with no problems, but it was a partitioned drive rather than a completely separate unit. Are you using the "forward-slash" as in your example, or a backslash? It should be:

F:[b]\[/b]openshowcenter

blasesmalo

4:40 pm on Feb 25, 2005 (gmt 0)

10+ Year Member



Hi

Thanks a lot for the reply

It was the slash.

solved!