Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2008 at 11:57 UTC
Updated:
5 Apr 2011 at 18:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
traxer commentedSlightly better help text.
Comment #2
robin monks commentedI've never had to use this option before, I would think this would make sites in subfolders much more complicated.
Robin
Comment #3
traxer commentedWhether or not RewriteBase is required seems to depend on configuration options outside the .htaccess file. I know of three hosting providers that require RewriteBase to be set explicitly for Clean URLs to work, regardless of where you install Drupal. But I also heard of other hosting providers that do not require it. I'm confused.
Comment #4
robin monks commentedI would much rather see better documentation in the event that Clean URL support cannot be detected by the installer.
-1 on changing .htaccess.
Robin
Comment #5
traxer commented+1 for better documentation
While the current documentation gives a thorough overview (if there is such a thing), my guess is that many users are overwhelmed by the number of pages on that topic.
However, before I say -1 to my original proposal, can anyone give an example Apache configuration where Drupal is installed in a subdirectory an Clean URLs work out of the box?
Comment #6
maartenvg commentedBetter documentation is always welcome, but isn't there something automatic we can do to improve the clean-url-activation? Like detecting VirtualDocumentRoot vs DocumentRoot and/or detecting whether we're in a subdirectory or not. And based on these detections, make suggestions to the user or even alter .htaccess?
Comment #7
robin monks commentedI know this works out of the box on my setup on CentOS 5. I can get you a copy of the httpd.conf if you wish.
Comment #8
traxer commentedMaking suggestions to the user during installation: +1
Altering .htaccess during installation: -1 .htaccess must not be owned by the user who executes the webserver. Therefore, altering .htaccess during installation only serves test and development installations. I don't think it's a good Idea to add additional code for that case.
Please do so.
Comment #9
catchI'm not aware of many support requests for this, so marking won't fix.
Comment #10
mfer commentedFirst, I don't think this should be rolled into core. But, there are cases where Drupal (via drush make and other build tools) will want the RewriteBase / set at build time. An easy way to do that is to pull in a patch and apply it. These seems as good a place as any for such a patch. I found this issues quickly in the drupal search for the topic after all.
This issue should remain closed (won't fix). The patch is attached here for cases where people want it.
Comment #11
mfer commented