PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Installing htaccess in a new directory
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Installing htaccess in a new directory

Réponse
 
LinkBack Outils de la discussion
Vieux 17/02/2007, 12h50   #1
superted
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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?


  Réponse avec citation
Vieux 18/02/2007, 13h22   #2
superted
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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?
>
>


  Réponse avec citation
Vieux 18/02/2007, 16h33   #3
Spartanicus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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
  Réponse avec citation
Vieux 18/02/2007, 21h21   #4
superted
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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?

  Réponse avec citation
Vieux 18/02/2007, 21h58   #5
Spartanicus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 10h44.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14512 seconds with 13 queries