httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah <>
Subject [users@httpd] best apache config for joomla site
Date Tue, 30 Jan 2007 23:43:51 GMT

So I want to keep the joomla directory in a path that has nothing to do 
with the site's DocumentRoot.  I am assuming this brings more security.  
But what I'd like to do is take out the need for joomla to be nested in 
the URL

I'd like joomla to appear without 'main' in the URL - like

how would I configure my httpd.conf file to allow this behavior.

---- config ----

        DocumentRoot /a/www/data/

        Alias /main /a/www/joomla/

        RewriteEngine on
        RewriteCond %{REQUEST_METHOD} !^(GET|POST|HEAD)$
        RewriteRule .* - [F]

        Redirect permanent /index.html

---- config ----

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