httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dwayne Miller" <dmil...@espgroup.net>
Subject Re: [users@httpd] Using a windows mapped drive for document root
Date Thu, 23 Jan 2003 22:14:47 GMT
Got it!  Stupid mistake on my part.

I forgot to put the share name as part of the UNC.  Once I got that 
corrected, then the Apache service would correctly initiate the mapping 
when the service starts.  This works within a Virtual Host container.  I 
have not tried this yet with the primary document root.

My syntax is:

DocumentRoot  //10.2.1.1/sharename/www/docs

Thanks for watching over my shoulder while I fought myself over this one!

Dwayne

Jeff Cohen wrote:

>I can tell you that I'm running a script to do so on my win2k box and
>connecting to another machine.
>Here is the script I'm using:
>@echo off
>net use r: \\web\c\ftp /y
>net start apache2
>
>All the best,
>Jeff Cohen
>
>  
>
>>-----Original Message-----
>>From: Dwayne Miller [mailto:dmiller@espgroup.net]
>>Sent: Thursday, January 23, 2003 10:08 AM
>>To: users@httpd.apache.org
>>Subject: Re: [users@httpd] Using a windows mapped drive for document root
>>
>>I have.
>>
>>I can log in and map the drive manually, then restart the service and
>>the directory does not exist according to Apache.
>>
>>If I reboot the system, then the mapping does not even occur (as far as
>>I can tell), and obviously, the directory does not exist according to
>>Apache.
>>
>>Dwayne
>>
>>Jeff Cohen wrote:
>>
>>    
>>
>>>Let me ask you something, have you tried mapping the drive with the IP
>>>address and not the Hostname?
>>>
>>>All the best,
>>>Jeff Cohen
>>>
>>>
>>>
>>>      
>>>
>>>>-----Original Message-----
>>>>From: Dwayne Miller [mailto:dmiller@espgroup.net]
>>>>Sent: Wednesday, January 22, 2003 10:57 AM
>>>>To: users@httpd.apache.org
>>>>Subject: Re: [users@httpd] Using a windows mapped drive for document
>>>>        
>>>>
>>root
>>    
>>
>>>>Thanks Jeff.
>>>>
>>>>I've done this, I believe.  I changed the service runas username, and
>>>>provided the proper password for the remote system.  Still no joy.  If
>>>>this is the primary (outside all virtual host containers) document root,
>>>>then Apache simply crashes on startup.  If it is a document root
>>>>specified in a virtual host, then Apache logs that the directory does
>>>>not exist.  Seems like I might be missing a step that causes the drive
>>>>mapping to occur.
>>>>
>>>>Dwayne
>>>>
>>>>Jeff Cohen wrote:
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>In hope you are running Apache as an NT service, change the username
>>>>>          
>>>>>
>>that
>>    
>>
>>>>>Apache service is configured to run to the username for auth to the
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>mapped
>>>>
>>>>
>>>>        
>>>>
>>>>>computer's user.
>>>>>
>>>>>All the best,
>>>>>Jeff Cohen
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>-----Original Message-----
>>>>>>From: Dwayne Miller [mailto:dmiller@espgroup.net]
>>>>>>Sent: Tuesday, January 21, 2003 9:28 AM
>>>>>>To: users@httpd.apache.org
>>>>>>Subject: [users@httpd] Using a windows mapped drive for document root
>>>>>>
>>>>>>Any Windows users out there have any experience in setting up Apache
>>>>>>            
>>>>>>
>>to
>>    
>>
>>>>>>use a mapped drive as the document root?
>>>>>>
>>>>>>I know it involves setting up a user that has permissions to the
>>>>>>            
>>>>>>
>>mapped
>>    
>>
>>>>>>drive and using an alias in the conf file, but all of my attempts
have
>>>>>>gotten me absolutely nowhere towards resolving this.
>>>>>>
>>>>>>Any help would be greatly appreciated.
>>>>>>
>>>>>>TIA,
>>>>>>Dwayne
>>>>>>
>>>>>>
>>>>>>---------------------------------------------------------------------
>>>>>>The official User-To-User support forum of the Apache HTTP Server
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>Project.
>>>>
>>>>
>>>>        
>>>>
>>>>>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>>>>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>>> "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>>>>For additional commands, e-mail: users-help@httpd.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>---------------------------------------------------------------------
>>>>>The official User-To-User support forum of the Apache HTTP Server
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>Project.
>>>>
>>>>
>>>>        
>>>>
>>>>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>>>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>> "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>>>For additional commands, e-mail: users-help@httpd.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>---------------------------------------------------------------------
>>>>The official User-To-User support forum of the Apache HTTP Server
>>>>        
>>>>
>>Project.
>>    
>>
>>>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>>For additional commands, e-mail: users-help@httpd.apache.org
>>>>
>>>>
>>>>        
>>>>
>>>---------------------------------------------------------------------
>>>The official User-To-User support forum of the Apache HTTP Server
>>>      
>>>
>>Project.
>>    
>>
>>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>For additional commands, e-mail: users-help@httpd.apache.org
>>>
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>The official User-To-User support forum of the Apache HTTP Server Project.
>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>For additional commands, e-mail: users-help@httpd.apache.org
>>    
>>
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>  
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message