-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Earnie Boyd wrote:
Quoting Amanda B Hickman amanda@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>
I think this means that I would have to define an Alias for anything I want to link to from within Drupal's menus system that lives outside of my Drupal installation, right?
That kind of defeats the point.
I think that
RewriteRule ^/drupal//(.*) /$1 [L]
Should fundamentally work: for any path that links to /drupal// assume that drupal is taking over where it shouldn't and pull the /drupal/ part. Leave the /.
It doesn't, though.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
- -- Amanda, Bee http://velociraptor.info/notes