Re: [users@httpd] Apache trying to find .htaccess on VirtualHost's DocumentRoot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dan,

I haven't stopped to research any of this, but some shots in the dark:  

Are you sure the problem isn't that Apache can't find H:, not that it just can't
find .htaccess?  I have to say I don't like the look of a path in httpd.conf of
just "H:" without slashes.  Even if that's okay, it could be that the apache
user can't read the mounted drive for some reason (usually permissions).  By the
way, in terms of httpd.conf syntax, I believe paths are expressed with forward
slashes, regardless of OS, so I also don't like the looks of "H:\" in your
Directory block.  But maybe I'm just in a mood where I don't like anything that 
looks Microsoft-y.  ;)

--
Craig Dunigan
IS Technical Services Specialist (I don't know what it means, either)
Middleware - Enterprise Info Systems - Department of Info Technology
University of Wisconsin, Madison
                                                                                          
opinions expressed are my own, not the University's
                                                                                          

On Thu, 14 Jul 2005, Dan Lyons wrote:

> We have Apache running on a win2k server, with a mapped drive to a
> directory on a Sun server(also running Apache).  Using VirtualHost, we
> have made the mapped drive our document root to the network shared
> drive:
>  
> <VirtualHost ourDNSname:80>
>  ServerAdmin ouradmin@xxxxxxxxxxx
>  DocumentRoot H:
>  ServerName ourDNSname
>   <Directory "H:\">
>    AllowOverride None
>    order allow,deny
>    allow from all
>   </Directory>
> </VirtualHost>
>  
> ....However, whenever we go to http://ourDNSname/anydirectory we get a
> 403-Forbidden error.  In error.log I get the error:
>  
> <date time> [crit] [client ipaddress] (22)Invalid Argument:
> h:/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is
> readable
>  
> I am a novice where Apache and configuring httpd.conf is concerned, but
> I was under the impression that "AllowOverride None" would cause Apache
> to not look for .htaccess, which in any case is not there.  Can anyone
> recommend any solution to keep Apache from looking for a .htaccess
> file?
>  
> regards,
> Daniel
> 


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux