[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] HTTP 400 - Bad Request - Cant Access Admin Section through /admin/
- Subject: [cobalt-users] HTTP 400 - Bad Request - Cant Access Admin Section through /admin/
- From: "Clint Decker" <nim1998@xxxxxxx>
- Date: Wed Nov 8 21:38:01 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
A while ago... all of a sudden my /admin/ section gave me a 404 error... and
cobalt said it was because I edited within telnet... but I didnt touch
anything and it messed up. So I got screwed there.. and still cant get to
it. www.louish.net/admin/ see.
Well the only way I could get to the admin section is by going to the long
URL of http://www.louish.net:81/.cobalt/sysManage
I left my house then came home 2 hours later (It was working before I left
just fine) and when I got back... I went to the link and it gave me a HTTP
400 - Bad Request
Then while writing this email.. I thought to check Netscape. Well netscape
gave me the same error, but decided to give me a descriptive error... which
was:
===================================
Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
Hint: https://www.louish.net:81/
===================================
Then I remember that before I left, I enabled SSL on Louish.net, making me
access the site through https://
Well I changed it back and removed the SSL so I can still access it without
the https.
So now that I have my problem already fixed... I figured I didnt need to
send this email... but hey.. maybe someone who runs across it will need it.
BUT I do have a request of help on why my /admin/ section doesnt work
anymore.
In fact the following aliased directories dont work any more on my server
(RAQ3)
/admin/
/siteadmin/
/personal/
/.cobalt/
/cgi-bin/.cobalt/
To test, try http://louish.net/admin/
I looked in my httpd.conf file and this was contained in that file:
$rewrite_rules =
'RewriteEngine On
RewriteCond %{HTTP_HOST} ^([^:]+)
RewriteCond %{DOCUMENT_ROOT} !-d
RewriteRule .*
proto://servername:81/.cobalt/error/forbidden.html [L$
RewriteCond %{HTTP_HOST} ^([^:]+)
RewriteRule ^/admin/?$
proto://servername:81/.cobalt/sysManage/index.html [L$
RewriteCond %{HTTP_HOST} ^([^:]+)
RewriteRule ^/siteadmin/?$
proto://servername:81/.cobalt/siteManage/%1/index.htm$
RewriteCond %{HTTP_HOST} ^([^:]+)
RewriteRule ^/personal/?$
proto://servername:81/.cobalt/personal/index.html [L,$
RewriteCond %{HTTP_HOST} ^([^:]+)
RewriteRule ^/.cobalt/(.+) proto://servername:81/.cobalt/$1
[L,R]
RewriteCond %{HTTP_HOST} ^([^:]+)
RewriteRule ^/cgi-bin/.cobalt/(.+)
proto://servername:81/cgi-bin/.cobalt/$1 [L,R]
';
$rewrite_rules =~ s/servername/%1/g;
$rewrite_rules =~ s/proto/$proto/g;
Now I didnt edit any of this... I never touched it. This problem just
started happening one day.. I wasnt like in the middle of editing stuff.. so
I dont know what could have caused it.
If anyone knows why I get a 404 error when I use these rewrite aliases,
PLEASE let me know.
Thanks,
Clint Decker