httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] having trouble rewriting an url from to
Date Fri, 24 Aug 2007 17:01:01 GMT
On 8/24/07, Scott <> wrote:
> Hello there,
> I am having some trouble when writing my rewrite rule to allow people to
> access instead of  I have read the
> examples in the httpd book and tried a couple but they don't seem to be
> doing what I want here is what I currently have.  It is in a conf file for
> drupal Cms.

What do you mean "conf file for drupal Cms"? These are apache httpd
directives that need to be in an apache config file like httpd.conf.

> RewriteEngine On
> RewriteRule ^/$ /usr/share/drupal/
> The drupal installation is at /usr/share/drupal and this is a Fedora 7
> machine.  Thanks for any help.

And what happens when you try it? What is in the RewriteLog?

At minimum, I expect that drupal needs access to more than just its
first page under that path, so you would need to redirect all requests
as in
RewriteRule ^/(.*) /usr/share/drupal/$1

But that brings up the question: Why don't you just point your
DocumentRoot at /usr/share/drupal? If that isn't what you want, you'll
need to better explain exactly how you want your system to behave.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message