Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

clashing htaccess files question

 
   Web Hosting Problem Solving Community! (Home) -> Webmaster RSS
Related Topics:
How to set files permissions with .htaccess - Hi all, When I upload a file on my server with a cms, by default the on this file is set to which mean that the file cannot be readable in a browser. Do someone know a way to set (chmod) the files's to

A good article about .htaccess files - Hello everyone, forgive me my English. I try to find a good about writing htacces file, but I failed. I found a lot of websites talking about how to solve a given problem, but nothing about what those commands mean. Do you know..

htaccess question - Hi, How do I get to write the following as one line? [NC] [NC]

.htaccess question - I host a number of domains at a known hosting on various shared hosting plans. Most of these domains are simple static pages. Some have some dynamic content, some forms, some PHP to process the forms. What I want to do is to have PHP..

.htaccess prevents itself from being viewed but not "sess*.. - /> Options -Indexes <Files ~ order deny from all <Files ~ order deny from all This is designed to prevent itself, all files..
Author Message
-keevill-

External


Since: Feb 06, 2008
Posts: 3



(Msg. 1) Posted: Wed Feb 27, 2008 1:06 am
Post subject: clashing htaccess files question
Archived from groups: alt>www>webmaster (more info?)

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

 >> Stay informed about: clashing htaccess files question 
Back to top
Login to vote
jstucklex

External


Since: Jul 14, 2003
Posts: 1507



(Msg. 2) Posted: Wed Feb 27, 2008 1:06 am
Post subject: Re: clashing htaccess files question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

-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 DeleteThis @attglobal.net
==================

 >> Stay informed about: clashing htaccess files question 
Back to top
Login to vote
John Bokma

External


Since: Apr 27, 2005
Posts: 593



(Msg. 3) Posted: Wed Feb 27, 2008 1:06 am
Post subject: Re: clashing htaccess files question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"-keevill-" <keevill.TakeThisOut@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/
 >> Stay informed about: clashing htaccess files question 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]