Installing htaccess in a new directory

This is a discussion on Installing htaccess in a new directory within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello, I currently have htacess installed in my main directory - which seems to work fine. I created a new directory ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-17-2007
superted
 
Posts: n/a
Default Installing htaccess in a new directory

Hello,

I currently have htacess installed in my main directory - which seems to
work fine.

I created a new directory which I am attempting to use as a file server. The
new directory called fileserver which is in the htdocs directory. So we have
http://myurl.com/fileserver/

I created an .htaccess file to generate the contents of the directory
(Options Indexes) but it doesn't seem to be responding.

Is it as simple as placing an .htaccess file in the directory or am I meant
to do something else? Is there anyway I could add the functionality for this
new directory to the .htcess file in my root directory?


  #2 (permalink)  
Old 02-18-2007
superted
 
Posts: n/a
Default Re: Installing htaccess in a new directory

anyone


On 17/2/07 11:50 PM, in article C1FD4560.286F%NOSPAM@spamenterprises,
"superted" <NOSPAM@spamenterprises> wrote:

> Hello,
>
> I currently have htacess installed in my main directory - which seems to
> work fine.
>
> I created a new directory which I am attempting to use as a file server. The
> new directory called fileserver which is in the htdocs directory. So we have
> http://myurl.com/fileserver/
>
> I created an .htaccess file to generate the contents of the directory
> (Options Indexes) but it doesn't seem to be responding.
>
> Is it as simple as placing an .htaccess file in the directory or am I meant
> to do something else? Is there anyway I could add the functionality for this
> new directory to the .htcess file in my root directory?
>
>


  #3 (permalink)  
Old 02-18-2007
Spartanicus
 
Posts: n/a
Default Re: Installing htaccess in a new directory

superted <NOSPAM@spamenterprises> wrote:

>I currently have htacess installed in my main directory - which seems to
>work fine.
>
>I created a new directory which I am attempting to use as a file server. The
>new directory called fileserver which is in the htdocs directory. So we have
>http://myurl.com/fileserver/
>
>I created an .htaccess file to generate the contents of the directory
>(Options Indexes) but it doesn't seem to be responding.


Do you have "AllowOverride All" in the relevant directory container in
httpd.conf?

>Is it as simple as placing an .htaccess file in the directory


Yes

>tIs there anyway I could add the functionality for this
>new directory to the .htcess file in my root directory?


Don't think so

--
Spartanicus
  #4 (permalink)  
Old 02-18-2007
superted
 
Posts: n/a
Default Re: Installing htaccess in a new directory




On 19/2/07 3:33 AM, in article envgt25s23p1tt9qi8l3sodq5rolujtvtm@4ax.com,
"Spartanicus" <invalid@invalid.invalid> wrote:

> superted <NOSPAM@spamenterprises> wrote:
>
>> I currently have htacess installed in my main directory - which seems to
>> work fine.
>>
>> I created a new directory which I am attempting to use as a file server. The
>> new directory called fileserver which is in the htdocs directory. So we have
>> http://myurl.com/fileserver/
>>
>> I created an .htaccess file to generate the contents of the directory
>> (Options Indexes) but it doesn't seem to be responding.

>
> Do you have "AllowOverride All" in the relevant directory container in
> httpd.conf?
>


I'll have a look. What would the "AllowOverride All" statement do? Prevent
..htaccess files in other directories?

  #5 (permalink)  
Old 02-18-2007
Spartanicus
 
Posts: n/a
Default Re: Installing htaccess in a new directory

superted <NOSPAM@spamenterprises> wrote:

>I'll have a look. What would the "AllowOverride All" statement do? Prevent
>.htaccess files in other directories?


http://httpd.apache.org/docs/2.0/mod...#allowoverride

--
Spartanicus
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:28 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0