我运行在Drupal网站 xyz.org
。
I am running a site xyz.org
in Drupal.
现在我想安装一些其他的模块,如 PHPBB 论坛和铜矿画廊。当我安装这些,并尝试访问该链接xyz.org/gallery,它给我的Drupal的错误。
Now I want to install some other modules such as PHPBB forum and Coppermine gallery. When I install these, and try to access the link xyz.org/gallery, it gives me drupal error.
找不到网页
,我需要改变让Drupal的知道, /库
不是一个Drupal节点?哪些设置
What settings I need to change in order to let drupal know that /gallery
is not a drupal node?
看看你目前的.htaccess配置。如果可能具有以下行:
Take a look at your current .htaccess config. If might have the following lines:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
那些包含大部分的URL重写的事项。前三个条件说,所有的网址将除了现有的文件,目录和/favicon.ico的请求被改写 你可以有添加自己喜欢的条件。例如,为了避免重写窗体/画廊的网址/.*:
Those contain most of the URL rewriting that matters. The first three conditions say that all URLs will be rewritten except for existing files, directories and a request for /favicon.ico You can add your own favourite conditions there. For example, to avoid rewriting for urls of the form /gallery/.*:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteCond %{REQUEST_URI} !^/gallery/.*$
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]