Index: [Article Count Order] [Thread]

Date:  Tue, 12 Jun 2007 17:30:15 -0700
From:  "Adam Crews" <adam.crews (at mark) gmail.com>
Subject:  [coba-e:10099] Re: /admin rewrite rule
To:  coba-e (at mark) bluequartz.org
Message-Id:  <1486c6440706121730t2c54c4c9r84972cbc1f21b9f4 (at mark) mail.gmail.com>
In-Reply-To:  <466F33D9.4060607 (at mark) virtbiz.com>
References:  <1486c6440706121533k6682d755t131f9b0d3fe73750 (at mark) mail.gmail.com>	 <5s1ihs$5ln920 (at mark) wnpgmb02-c600c.mts.net> <466F33D9.4060607 (at mark) virtbiz.com>
X-Mail-Count: 10099

Thanks to everyone for the replies.

I do not want to disable it for everyone, just one vsite.  If I
remove/alter the entries in the bluequartz.conf file, it effects the
whole server.

For drupal, it is a pain to find and replace all the instances of
'admin' with something else, and this will break if I do any upgrades
in the future.

I ended up finding a the link in drupals docs that say to create an
alias for /administrator that points to /admin.  This still does not
allow access to /admin directly in drupal, but bypasses the redirect
in apache.  All other instances of /admin are called as /admin/menu,
or /admin/module, ect... so the workaround get's me up and running for
now.

So, I would still like to figure out a way to clear a single re-write
rule from down in the .htaccess or vsite config areas, but I'm not
coming up with much while googling.

Thanks
-Adam

On 6/12/07, Chris Gebhardt - VIRTBIZ Internet <cobaltfacts (at mark) virtbiz.com> wrote:
> Actually, your easiest bet may be to make no changes whatsoever.
>
> Is there an index.php in Drupal's admin/ directory?   If so, you should
> be able to access it by going to http://your.site.name/admin/index.php
>
> Maybe that will be a good solution for you.
>
> Brent Epp wrote:
> > In /etc/admserv/conf/httpd.conf, there is:
> >
> >   RewriteRule ^/admin/?$                  *MailScanner warning:
> > numerical links are often malicious:* https://%1:81/login.php
> > <https://%251:81/login.php> [L,R]
> >   RewriteRule ^/admin/?$                  *MailScanner warning:
> > numerical links are often malicious:* http://%1:444/login.php
> > <http://%251:444/login.php> [L,R]
> >
> > _Don't take my word for it_, but it would seem that changing these
> > and/or commenting them out would do what you need.
> >
> > On the other hand, perhaps it's easier to change the name of the admin
> > directory for Drupal?
> >
> > At 2007-06-12 17:33, you wrote:
> >> Hello everyone,
> >>
> >> I am setting up Drupal (http://drupal.org <http://drupal.org/>) on one
> >> of my vsites.  In
> >> drupal they use /admin as for administering the site.  Is there a way
> >> to disable the BQ re-write rule so /admin is passed to the site
> >> instead of being caught by the webserver config?
> >>
> >> thx
> >> -Adam
> >
> >
> > Brent Epp
> > mailto:brent (at mark) pdcweb.net
> >
>
>


-- 
-----------------------------------------------------------------
Shroom.net Donation Based Web Hosting
http://www.shroom.net/
-----------------------------------------------------------------