[BlueOnyx:02838] Re: admin redirect

Ken Marcus - Precision Web Hosting, Inc kenlists at precisionweb.net
Sat Nov 7 16:39:09 -05 2009


----- Original Message ----- 
From: Mr. Julliet Smit
>>
I have installed Drupal on my server. It works great. But when i want to 
login in Drupal www.site.com/admin it redirects to the BlueOnyx admin page.
Is there an solution to redirect only to the admin page with:
ip:444/login.php
<<

Possibly

pico -w /etc/admserv/conf/httpd.conf
#and comment out these 2 lines.
RewriteRule ^/admin/?$                  https://%1:81/login.php [L,R]
RewriteCond %{HTTP_HOST}                ^([^:]+)

Or,
pico -w /etc/httpd/conf.d/bluequartz.conf
#and comment out the 2 lines below
RewriteCond %{HTTP_HOST}                ^([^:]+)
RewriteRule ^/admin/?$ 
https://server.something.net:81/login.php [L,R]



then
/etc/rc.d/init.d/admserv restart
/etc/rc.d/init.d/httpd restart


One of those 2 changes should do it.


Ken Marcus





More information about the Blueonyx mailing list