Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Codeasaurus Rex
    Join Date
    Jun 2008
    Location
    Redmond, WA
    Posts
    660
    Thanks
    31
    Thanked 100 Times in 94 Posts

    DocumentRoot as a network location

    Hello everyone,

    This seems like it would be an extremely easy task but it isn't working for me. Basically I'm employing WAMP and trying to get Apache's DocumentRoot and Directory to be a server location (ie: \\myserver\path\to\doc\root).

    When I put that in, however, the apache server doesn't start up. Moreover, I tried mapping the network location to a drive letter however no dice on that either.

    Any ideas on how I can accomplish this?

    Thanks for ANY assistance you can offer!!
    Unless otherwise stated, any code posted is most likely untested and may contain syntax errors.
    My posts, comments, code, and suggestions reflect only my personal views.
    Web Portfolio and Code Snippets: http://shanechism.com

  • #2
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    What does the error log say?

  • #3
    Codeasaurus Rex
    Join Date
    Jun 2008
    Location
    Redmond, WA
    Posts
    660
    Thanks
    31
    Thanked 100 Times in 94 Posts
    Unfortunately it doesn't say anything, no mention of any error whatsoever. The service just doesn't start. (If you're familiar with WAMP's indicator it stops at "yellow").

    Before I posted this I did hours of researching and the closest thing I could get is that the service doesn't have permission to access the network location. So I went into services and specified that it login using my account (which has access to the network location). Still no dice, though.

    This forum posting is the closest I could find to my prediciment. The solution, though, didn't work for me (assuming I did it right). It may be relevant that I'm trying to do this in httpd.conf and not a virtual host file.

    Any ideas?
    Unless otherwise stated, any code posted is most likely untested and may contain syntax errors.
    My posts, comments, code, and suggestions reflect only my personal views.
    Web Portfolio and Code Snippets: http://shanechism.com

  • #4
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    Yeah, I am familiar with WAMP's yellow icon. You generally get an error in the Apache error log, or the Windows error log. If that fails, try starting Apache from the command line.

  • #5
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Try looking in the event viewer for windows to see if it has any error messages about apache. The other alternative is to open a command window and try starting apache interactively, it should print out any error messages to the console so you can see why it didn't start.
    OracleGuy

  • #6
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,108
    Thanks
    11
    Thanked 101 Times in 99 Posts
    most info I see on web suggests (seems to work for some & not for others) UNC path such as //192.168.$network.$ip/share (with forward slashes) also see this page... http://httpd.apache.org/docs/2.2/pla...ws.html#winsvc
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •