htaccess for maintenance
am 15.08.2007 21:36:11 von nanart
Hello,
I am looking for a solution to write an htaccess file for maintenance.
I would like to :
1) Deny from all / my web pages
2) _excepted one directory_ (name 'maintenance')
I have no Apache administration rights (just user).
So Directory and Locate can't be used.
How can i do this ? Any help is welcome...
Re: htaccess for maintenance
am 15.08.2007 22:24:04 von nanart
nanart a écrit :
> Hello,
> I am looking for a solution to write an htaccess file for maintenance.
>
> I would like to :
> 1) Deny from all / my web pages
> 2) _excepted one directory_ (name 'maintenance')
>
> I have no Apache administration rights (just user).
> So Directory and Locate can't be used.
>
> How can i do this ? Any help is welcome...
something like :
deny from all
allow from all
don't work....
perhaps something else ?
Re: htaccess for maintenance
am 15.08.2007 23:02:24 von nanart
nanart a écrit :
> Hello,
> I am looking for a solution to write an htaccess file for maintenance.
>
> I would like to :
> 1) Deny from all / my web pages
> 2) _excepted one directory_ (name 'maintenance')
>
> I have no Apache administration rights (just user).
> So Directory and Locate can't be used.
>
> How can i do this ? Any help is welcome...
something like :
Order Deny,Allow
deny from all
Order Allow,Deny
allow from all
ErrorDocument 403 /maintenance/maintenance.html
Don't work....
All files are looking in ../
not in ../maintenance/
-->error 403
perhaps something else ?
Re: htaccess for maintenance
am 16.08.2007 05:24:43 von nanart
Davide Bianchi a écrit :
> On 2007-08-15, nanart wrote:
>> something like :
>>
>> Order Deny,Allow
>> deny from all
>
> Dude, if you are reading the .htaccess file you're already allowed.
????
currently = i'm only prohibited (403)
> Change the index.html
I know.... but I don't want.
I want to :
- deny _all_
- excepted _one directory_
Re: htaccess for maintenance
am 16.08.2007 08:35:28 von unknown
Post removed (X-No-Archive: yes)
Re: htaccess for maintenance
am 16.08.2007 15:07:51 von nanart
Davide Bianchi a écrit :
> On 2007-08-15, nanart wrote:
>> something like :
>>
>> Order Deny,Allow
>> deny from all
>
> Dude, if you are reading the .htaccess file you're already allowed.
????
currently = i'm only prohibited (403)
> Change the index.html
I know.... but I don't want.
I want to :
- deny _all_
- excepted _one directory_