You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Brent <mr...@bmyster.com> on 2007/06/27 02:36:18 UTC
[users@httpd] help with htaccess
i have the latest apache 2.2.x running on a freebsd 6.2 box. THe root
directory was changed to /usr/smb/some-directory rather than the default root
dir of /usr/local/www/data to accomidate the use of samba 3. In short the
owner wants the ability to drag & drop files onto the web server from his
windows desktop using windows shares. the server is on a internal network so
security isnt so much of an issue. Anyway He also wanted the root dir to be
password protected...for some reason .htaccess files dont seem to be read by
apache when outside of /usr/local
is there a way to cure this while keeping the web server root dir of
/usr/smb/somediretory ??
thank you
--
Brent
---------------------------------------------------------------------
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
Re: [users@httpd] help with htaccess
Posted by Joshua Slive <jo...@slive.ca>.
On 6/26/07, Brent <mr...@bmyster.com> wrote:
> i have the latest apache 2.2.x running on a freebsd 6.2 box. THe root
> directory was changed to /usr/smb/some-directory rather than the default root
> dir of /usr/local/www/data to accomidate the use of samba 3. In short the
> owner wants the ability to drag & drop files onto the web server from his
> windows desktop using windows shares. the server is on a internal network so
> security isnt so much of an issue. Anyway He also wanted the root dir to be
> password protected...for some reason .htaccess files dont seem to be read by
> apache when outside of /usr/local
>
> is there a way to cure this while keeping the web server root dir of
> /usr/smb/somediretory ??
You are probably looking for the AllowOverride directive. But I doubt
that you really want to use .htaccess at all. For the details, see:
http://httpd.apache.org/docs/2.2/howto/htaccess.html
Joshua.
---------------------------------------------------------------------
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