[Project_owners] Mozdev documentation now in wiki

Sergey Yanovich ynvich at gmail.com
Fri Oct 19 09:02:18 PDT 2007


Douglas E. Warner wrote:
> On Friday 19 October 2007, Sergey Yanovich wrote:
>> I have read mod_rewrite manual, and I am still not getting what prevents
>> you from rewriting '/blog'->'/drupal/blog',
>> '/someotherstuff'->'/drupal/someotherstuff' and so on. Be it server-wide
>>   config, or per-vhost config.
> 
> If "blog" were the only one I cared about, it would have been much easier.  
> But I'm also supporting "wiki" and "forum".  I /was/ able to achieve what you 
> are describing for one of these at a time, but any links to other places 
> (even other subsets of the current section) were broken; typically looking 
> like "/blog/blog" because Drupal didn't understand how things were getting 
> rewritting - it was assuming "/blog" was it's root.

I have installed drupal-4.7 to be more specific.
==apache2==
drupal.conf starts with this:

Alias /drupal /path/to/drupal

If that line is replaced with:

Alias /wiki /path/to/drupal/index.php?q=wiki
Alias /blog /path/to/drupal/index.php?q=blog
Alias /forum /path/to/drupal/index.php?q=forum
Alias /themes /path/to/drupal/themes

All three modules should be available.
==drupal==
$base_url should be plain (no drupal)
$clean_url is true
====

--
Sergey


More information about the Project_owners mailing list