PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > alt.www.webmaster > clashing htaccess files question
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
clashing htaccess files question

Réponse
 
LinkBack Outils de la discussion
Vieux 27/02/2008, 00h29   #1
-keevill-
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut clashing htaccess files question

I have been using a htaccess file to enable people to access a folder to
see a listing of files for download.
The htaccess file is inside this folder and just contains the line Options
Indexes.

I have now also started using a htaccess file in the main folder ( l level
above ) to use for mod rewrite.
It seems that the original htaccess to enable the file listing does not now
work.
The path for the original file listing is
/domains/mydomain.com/public_html/filelist

The path for the main folder using the mod rewrite htaccess is
/domains/mydomain.com/public_html
They seem to be clashing is there something I can do ?



--
Posted via a free Usenet account from http://www.teranews.com

  Réponse avec citation
Vieux 27/02/2008, 01h22   #2
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: clashing htaccess files question

-keevill- wrote:
> I have been using a htaccess file to enable people to access a folder to
> see a listing of files for download.
> The htaccess file is inside this folder and just contains the line Options
> Indexes.
>
> I have now also started using a htaccess file in the main folder ( l level
> above ) to use for mod rewrite.
> It seems that the original htaccess to enable the file listing does not now
> work.
> The path for the original file listing is
> /domains/mydomain.com/public_html/filelist
>
> The path for the main folder using the mod rewrite htaccess is
> /domains/mydomain.com/public_html
> They seem to be clashing is there something I can do ?
>
>
>


Among other things, you might try an Apache configuration newsgroup.
There are quite a few experts over there.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
Vieux 27/02/2008, 02h54   #3
John Bokma
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: clashing htaccess files question

"-keevill-" <keevill@gmail.com> wrote:

> I have been using a htaccess file to enable people to access a folder
> to see a listing of files for download.
> The htaccess file is inside this folder and just contains the line
> Options Indexes.
>
> I have now also started using a htaccess file in the main folder ( l
> level above ) to use for mod rewrite.
> It seems that the original htaccess to enable the file listing does
> not now work.
> The path for the original file listing is
> /domains/mydomain.com/public_html/filelist
>
> The path for the main folder using the mod rewrite htaccess is
> /domains/mydomain.com/public_html
> They seem to be clashing is there something I can do ?


Use one .htaccess in your document root, see the Directory directive in
the Apache documentation. However, it should work, unless you've
disallowed the reading of .htaccess by Apache in the .htaccess in your
Document Root. You can check if Apache reads the .htaccess in filelist by
putting some random characters in the file, e.g.

asdassdasd

and check if you get a server error if you access /filelist/

--
John Bokma http://johnbokma.com/
  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 22h15.


É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,07941 seconds with 11 queries