How do I know if htaccess files are allowed

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
aneuryzma
Forum Contributor
Posts: 106
Joined: Sat May 17, 2008 7:03 am

How do I know if htaccess files are allowed

Post by aneuryzma »

How do I know if htaccess files are allowed and what kind of permissions do I have, if I don't have access to httpd.conf file ?

thanks
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: How do I know if htaccess files are allowed

Post by jaoudestudios »

Try it and see :wink:
aneuryzma
Forum Contributor
Posts: 106
Joined: Sat May 17, 2008 7:03 am

Re: How do I know if htaccess files are allowed

Post by aneuryzma »

hi thanks for reply,

is the only possible option ?

If, for example, I want to add these lines in my htaccess file:

Options +Indexes //this is allowed
and authentication /this is not allowed

should I check if each line work or not ??

for all the folders I need to change config ?

thanks
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: How do I know if htaccess files are allowed

Post by jaoudestudios »

I would start off simple and test the one you are most confortable with, then build up from there.

You will need to put the htaccess file in the root of all the relevant folders. Child folders will inherit from their parents.
aneuryzma
Forum Contributor
Posts: 106
Joined: Sat May 17, 2008 7:03 am

Re: How do I know if htaccess files are allowed

Post by aneuryzma »

ok, otherwise I could ask to apache administrator since he is offering me the service
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: How do I know if htaccess files are allowed

Post by jaoudestudios »

aneuryzma wrote:ok, otherwise I could ask to apache administrator since he is offering me the service
Thats probably your best place to start.
Post Reply