[development] Clean urls openSUSE 11.0 Drupal 6.8

Ashraf Amayreh mistknight at gmail.com
Sat Dec 27 11:53:48 UTC 2008


Try messing up your .htaccess file and make sure it's being read in
the first place. You should get a crash or something because of that,
if you don't, then it's simply not being read.

On 12/27/08, rsw-ml at silverarc.biz <rsw-ml at silverarc.biz> wrote:
> Hello everyone,
>
> Thanks for the prompt response. i tried writing this: RewriteBase /
> and also commenting out the entire line. But nothing helped!
> Its still the same. Somethings telling me that I am doing a very silly and
> a very obvious mistake somewhere.. But what !?!?!?!?
>
> And can you please throw some light on:
>>> Try adding FollowSymLinks to Options directive and commenting out
>>> RewriteBase from .htaccess.
>
> Thanks a million again!
>
>> Additionally, certain hosts just like when you have a RewriteBase set
>> - even if it's only /.
>>
>> Dmitri
>>
>> On Dec 26, 2008, at 1:18 PM, Henrique Recidive wrote:
>>
>>> Hello,
>>>
>>> from my experience I see the need of setting RewriteBase only if you
>>> have 2 or more levels deep subdirectories.
>>>
>>> Try adding FollowSymLinks to Options directive and commenting out
>>> RewriteBase from .htaccess.
>>>
>>> Henrique
>>>
>>> 2008/12/26 Darren Oh <darrenoh at sidepotsinternational.com>:
>>>> If you use an alias, RewriteBase should be /. If you use a
>>>> subdirectory, the
>>>> subdirectory name in RewriteBase should begin with /.
>>>>
>>>> On Dec 26, 2008, at 2:29 AM, rsw-ml at silverarc.biz wrote:
>>>>
>>>>> Hello all,
>>>>>
>>>>> I have been trying to solve this issue since long, and now I badly
>>>>> need
>>>>> your help.
>>>>>
>>>>> My clean url's just dont seem to get enabled, on the Administer
>>>>> page for
>>>>> Clean URL's, it says this:
>>>>>
>>>>> Your system configuration does not currently support this feature.
>>>>> The
>>>>> handbook page on Clean URLs has additional troubleshooting
>>>>> information.
>>>>>
>>>>> And to change my system configurations for apache, I have done all
>>>>> this:
>>>>>
>>>>> 1. I have checked under phpinfo() that my mod_rewrite module is
>>>>> enabled.
>>>>> It sure is enabled.
>>>>> 2. My .htacces file looks like this:
>>>>>
>>>>> RewriteEngine on
>>>>> RewriteBase drupal6
>>>>> RewriteCond %{REQUEST_FILENAME} !-f
>>>>> RewriteCond %{REQUEST_FILENAME} !-d
>>>>> RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
>>>>>
>>>>> 3. I have also made changes in default-server.conf file, to
>>>>> AllowOverride
>>>>> All under the script for the root document. It looks like this:
>>>>> DocumentRoot "/srv/www/htdocs"
>>>>>
>>>>> #
>>>>> # Configure the DocumentRoot
>>>>> #
>>>>> <Directory "/srv/www/htdocs">
>>>>>      # Possible values for the Options directive are "None", "All",
>>>>>      # or any combination of:
>>>>>      #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch
>>>>> ExecCGI
>>>>> MultiViews
>>>>>      #
>>>>>      # Note that "MultiViews" must be named *explicitly* ---
>>>>> "Options
>>>>> All"
>>>>>      # doesn't give it to you.
>>>>>      #
>>>>>      # The Options directive is both complicated and important.
>>>>> Please
>>>>> see
>>>>>      # http://httpd.apache.org/docs-2.2/mod/core.html#options
>>>>>      # for more information.
>>>>>      Options None
>>>>>      # AllowOverride controls what directives may be placed in
>>>>> .htaccess files.
>>>>>      # It can be "All", "None", or any combination of the keywords:
>>>>>      #   Options FileInfo AuthConfig Limit
>>>>>      AllowOverride All
>>>>>      # Controls who can get stuff from this server.
>>>>>      Order allow,deny
>>>>>      Allow from all
>>>>> </Directory>
>>>>>
>>>>> I would like to mention here that I have created an alias for
>>>>> drupal6 that
>>>>> resides under my public_html folder. The reason for this is that: My
>>>>> themes were not working properly until i created an alias. i
>>>>> really dont
>>>>> know the exact reason for the same - would be great if anyone
>>>>> would throw
>>>>> some light on it. Actually, I just had a feeling that may be site
>>>>> is not
>>>>> liking the '~' sign in the path and hence is not redirecting
>>>>> properly. So
>>>>> it was just a try and to my pleasant surprise the alias option did
>>>>> work
>>>>> for me!
>>>>>
>>>>> Alias /drupal6 "/home/radhikaw/public_html/drupal6"
>>>>>
>>>>> <Directory "/home/radhikaw/public_html/drupal6">
>>>>>      Options Indexes MultiViews
>>>>>      AllowOverride None
>>>>>      Order allow,deny
>>>>>      Allow from all
>>>>> </Directory>
>>>>>
>>>>> When I tried to AllowOverride All in the alias script, it said
>>>>> Access
>>>>> forbidden!!
>>>>> So, I changed it back to None in the Alias script.
>>>>>
>>>>>
>>>>> Anyways, but the whole issue is that I am not able to enable clean
>>>>> urls....
>>>>>
>>>>> Hope to get some help soon!
>>>>>
>>>>> Thanks in advance!!
>>>>> Radhika
>>>>
>>
>>
>
>
>


-- 
Ashraf Amayreh
http://aamayreh.org


More information about the development mailing list