deny all in .htaccess does not work
7 posts
• Page 1 of 1
deny all in .htaccess does not work
Hello,
I have Windows web server, IIS 7, ISAPI rewrite 3. In a website docroot I have a .htaccess file. I want to restrict all requests to this website but it does not work. I added the following in this .htaccess file, located as the first 2 lines
order deny,allow
deny from all
Any ideas how to get this working are appreciated.
Joe
I have Windows web server, IIS 7, ISAPI rewrite 3. In a website docroot I have a .htaccess file. I want to restrict all requests to this website but it does not work. I added the following in this .htaccess file, located as the first 2 lines
order deny,allow
deny from all
Any ideas how to get this working are appreciated.
Joe
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: deny all in .htaccess does not work
Hello Joe,
This doesn't work in ISAPI_Rewrite. These directives are only supported in HeliconApe.
Although, you may use smth like:
Which will force all users to see 403 Forbidden.
Regards
Andrew
This doesn't work in ISAPI_Rewrite. These directives are only supported in HeliconApe.
Although, you may use smth like:
- Code: Select all
RewriteRule .* - [F]
Which will force all users to see 403 Forbidden.
Regards
Andrew
Re: deny all in .htaccess does not work
Hi Andrew,
I have another server with Ape on it, tried the same directives
order deny,allow
deny from all
and it looks like it only blocks the css * javascript. I can click through on links that are displayed on the ugly page due to no css.
joe
I have another server with Ape on it, tried the same directives
order deny,allow
deny from all
and it looks like it only blocks the css * javascript. I can click through on links that are displayed on the ugly page due to no css.
joe
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: deny all in .htaccess does not work
This depends.
-Please, provide your .htaccess.
-Do you have any authorization set?
-IS your site carried by one or several pools?
-Please, provide your applicationHost.config.
-Is there any way to see this site?
regards
andrew
-Please, provide your .htaccess.
-Do you have any authorization set?
-IS your site carried by one or several pools?
-Please, provide your applicationHost.config.
-Is there any way to see this site?
regards
andrew
Re: deny all in .htaccess does not work
Andrew,
The server with Ape is not public accessible, I can send you these files but not in this public forum. Please provide me your email address to send these files to.
Regards,
Joe
The server with Ape is not public accessible, I can send you these files but not in this public forum. Please provide me your email address to send these files to.
Regards,
Joe
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: deny all in .htaccess does not work
there's a link on top of the site "Support".
You can send us email with all information. This message will be available to our support team. Please, mark subject as "To Andrew" or smth like that. Also, provide a link to this forum topic to make sure we know what to relate this one to.
Regards
Andrew
You can send us email with all information. This message will be available to our support team. Please, mark subject as "To Andrew" or smth like that. Also, provide a link to this forum topic to make sure we know what to relate this one to.
Regards
Andrew
Re: deny all in .htaccess does not work
Will do. I just tried to install Ape on the web server that does not have it and get an error msg which says .net extensibility is not installed but when I go into Server Manager it is installed. I'll screenshot of that msg as well.
Thanks.
Joe
Thanks.
Joe
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests