[support] theming primary links, or absolute paths when drupal is in a sub-directory
Earnie Boyd
earnie at users.sourceforge.net
Tue Oct 30 22:59:45 UTC 2007
Quoting Amanda B Hickman <amanda at velociraptor.info>:
>
> I'm not dying to go the .htaccess route, I promise, but I can't figure
> out how to persuade drupal that a path in the menu like "/news/" is
> relative to the whole site, not relative to drupal.
>
Try path aliasing, e.g. follows:
<code file="/etc/httpd/conf.d/mydomain.conf">
<VirtualHost *>
DocumentRoot "e:\var\www\mydomain"
ServerName www.example.com
ServerAlias example
Alias /drupal e:\var\www\drupal-5.2
Alias /bin e:\var\www\bin
Alias /sqladmin e:\var\www\phpMyAdmin-2.6.1
</VirtualHost>
</code>
Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/
More information about the support
mailing list