|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
-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 ================== |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
"-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/ |
|
![]() |
| Outils de la discussion | |
|
|