![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
Sslhello.
how can i get my apache-ssl server to send 403 Forbidden instead of 400 Bad Request on attempts to access a specified directory with http instead of https? thank you in advance. jovan |
|
#2
|
|||
|
|||
|
In .htaccess, add the line:
Code:
|
|
#3
|
|||
|
|||
|
Whoops, I misread the original question!
Looks like a 400 is the appropriate response for the scenario you describe: http://www.w3.org/Protocols/rfc2616/...html#sec10.4.1 http://support.microsoft.com/default...b;en-us;293131 |
|
#4
|
||||
|
||||
|
Hello jovan,
If you're interested in possibly trying a mod-rewrite solution to this, I may be able to suggest a few things... I say "suggest" because I have never set up anything to work with SSL / https; but I know my way around mod-rewrite __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
Recent GIDBlog
Stupid Management Policies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The