I tried disabling dhmtl_menu, and clean urls still does not work. My hosting company said mod_rewrite is already enabled on the server side, and I just need to play with the .httaccess file to get it to work. Is it possible there is another setting on the server side that is preventing clean urls from taking effect? I'm not sure what other modifications I can try on my side to enable clean urls. Any ideas?<br>
<br>Thanks,<br><br>Troy<br><br><div class="gmail_quote">On Tue, May 27, 2008 at 11:25 PM, Cog Rusty <<a href="mailto:cog.rusty@gmail.com">cog.rusty@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Not sure if this matters, but the next obvious try is to disable the<br>
dhtml_menu module and see if it makes any difference.<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
On Wed, May 28, 2008 at 6:44 AM, Troy <<a href="mailto:troythetechguy@gmail.com">troythetechguy@gmail.com</a>> wrote:<br>
> I cleared my cookies and entered <a href="http://site.com" target="_blank">http://site.com</a> and <a href="http://www.site.com" target="_blank">http://www.site.com</a>. I<br>
> have one folder (<a href="http://site.com" target="_blank">site.com</a>) with 3 files inside (<a href="http://site.com" target="_blank">site.com</a> :description =<br>
> dhtml_menu, <a href="http://site.com" target="_blank">site.com</a> :description= long string of numbers and letters, and<br>
> <a href="http://site.com" target="_blank">site.com</a>: description = long string of numbers and letters.). The path for<br>
> all 3 files is /, but the host name for dhtml_menu is <a href="http://www.site.com" target="_blank">www.site.com</a>, and the<br>
> other 2 are domain .<a href="http://site.com" target="_blank">site.com</a>. I'm not sure what all this means, but<br>
> hopefully it can help us solve this issue.<br>
><br>
> Thanks again for the help.<br>
><br>
> Troy<br>
><br>
> On Tue, May 27, 2008 at 6:53 PM, Cog Rusty <<a href="mailto:cog.rusty@gmail.com">cog.rusty@gmail.com</a>> wrote:<br>
>><br>
>> Can you check the cookie in your browser to see<br>
>> - if there is one or multiple cookie names for your site?<br>
>> - what is the cookie domain (is it '.<a href="http://example.com" target="_blank">example.com</a>')?<br>
>> - what is the cookie path (is it just '/')?<br>
>><br>
>><br>
>> On Wed, May 28, 2008 at 12:38 AM, Troy <<a href="mailto:troythetechguy@gmail.com">troythetechguy@gmail.com</a>> wrote:<br>
>> > I did try the suggestions for the cookie domain, and obtained the same<br>
>> > results.<br>
>> ><br>
>> > I'm running Drupal 5.7. I tried accessing the site using<br>
>> > <a href="http://www.site.com/user" target="_blank">http://www.site.com/user</a> and <a href="http://site.com/user" target="_blank">http://site.com/user</a>, and both failed to<br>
>> > allow<br>
>> > me to log in - the result is the page simply refreshes with the user<br>
>> > name<br>
>> > and password fields blank.<br>
>> ><br>
>> > Both $base_url and cookie_domain settings are commented out. I tried<br>
>> > commenting out "RewriteBase /" in .htaccess, but this did not work<br>
>> > either.<br>
>> > My host says the issue is on my end. Any other ideas or suggestions?<br>
>> ><br>
>> > Thanks,<br>
>> ><br>
>> > Troy<br>
>> ><br>
>> > On Sat, May 24, 2008 at 2:12 AM, Cog Rusty <<a href="mailto:cog.rusty@gmail.com">cog.rusty@gmail.com</a>> wrote:<br>
>> >><br>
>> >> I assume you tried the suggestions for the cookie domain and it failed.<br>
>> >><br>
>> >> - Your exact Drupal version?<br>
>> >> - When using clean URLs, do you lose your session when using both<br>
>> >> <a href="http://www.domain.com" target="_blank">www.domain.com</a> and simply <a href="http://domain.com" target="_blank">domain.com</a>?<br>
>> >> - Does your settings.php file contain a $base_url setting and/or a<br>
>> >> cookie_domain settings, or are they commented out with a #.<br>
>> >> - Also try to enable the "RewriteBase /" line in .htaccess, removing<br>
>> >> the<br>
>> >> #.<br>
>> >><br>
>> >><br>
>> >> On Fri, May 23, 2008 at 8:02 PM, Troy <<a href="mailto:troythetechguy@gmail.com">troythetechguy@gmail.com</a>> wrote:<br>
>> >> > After hacking my settings.php file to force clean urls to stay<br>
>> >> > enabled,<br>
>> >> > I<br>
>> >> > found I was unable to enable any blocks, and was unable to log in to<br>
>> >> > the<br>
>> >> > site with <a href="http://www.domain.com/user" target="_blank">www.domain.com/user</a> - I had to still use<br>
>> >> > <a href="http://www.domain.com/?q=user" target="_blank">www.domain.com/?q=user</a>.<br>
>> >> > After removing $conf['clean_url'] = 1; from settings.php, I can now<br>
>> >> > enable<br>
>> >> > blocks on the site, but clean urls still does not work.<br>
>> >> ><br>
>> >> > Any suggestions on what changes need to take place for clean urls to<br>
>> >> > stay<br>
>> >> > enabled? As previously determined, this is not a clean url problem,<br>
>> >> > but<br>
>> >> > a<br>
>> >> > problem with saving my settings.<br>
>> >> ><br>
>> >> > Thanks,<br>
>> >> ><br>
>> >> > Troy<br>
>> >> ><br>
>> >> > On Mon, May 19, 2008 at 10:03 PM, Cog Rusty <<a href="mailto:cog.rusty@gmail.com">cog.rusty@gmail.com</a>><br>
>> >> > wrote:<br>
>> >> >><br>
>> >> >> On Tue, May 20, 2008 at 5:08 AM, Troy <<a href="mailto:troythetechguy@gmail.com">troythetechguy@gmail.com</a>><br>
>> >> >> wrote:<br>
>> >> >> > Thank you. I tried typing the clean urls in my browser, and they<br>
>> >> >> > worked. I<br>
>> >> >> > then added $conf['clean_url'] = 1; to the end of my settings.php<br>
>> >> >> > file,<br>
>> >> >> > and<br>
>> >> >> > now clean urls are enabled!<br>
>> >> >> ><br>
>> >> >> > I disabled the log-in block, so I log-in using the appended url<br>
>> >> >> > ?q=user.<br>
>> >> >> > Now that clean urls are enabled, I tried logging in by using<br>
>> >> >> > <a href="http://www.sitename.com/user" target="_blank">www.sitename.com/user</a>. I receive the log-in prompt, but the<br>
>> >> >> > log-in<br>
>> >> >> > does<br>
>> >> >> > not<br>
>> >> >> > work, the page only refreshes. Is this normal?<br>
>> >> >><br>
>> >> >><br>
>> >> >> Of course it isn't normal. As I suspected, "If they do work, then<br>
>> >> >> the<br>
>> >> >> problem is not clean URLs but saving your setting." The problem is<br>
>> >> >> probably that your session is lost for some reason and for a moment<br>
>> >> >> Drupal does not recognize you.<br>
>> >> >><br>
>> >> >> This can be hard to track. Did you say what your Drupal version was?<br>
>> >> >><br>
>> >> >> One thing which often helps in recent versions is to go to<br>
>> >> >> settings.php and set $cookie_domain = '<a href="http://example.com" target="_blank">example.com</a>';<br>
>> >> >> (important:*without* www) and remove the front #. Also check if<br>
>> >> >> there<br>
>> >> >> is a wrong $base_url left over (if any).<br>
>> >> >><br>
>> >> >><br>
>> >> >> > Thanks again,<br>
>> >> >> ><br>
>> >> >> > Troy<br>
>> >> >> ><br>
>> >> >> > On Mon, May 19, 2008 at 11:24 AM, Cog Rusty <<a href="mailto:cog.rusty@gmail.com">cog.rusty@gmail.com</a>><br>
>> >> >> > wrote:<br>
>> >> >> >><br>
>> >> >> >> On Mon, May 19, 2008 at 6:59 PM, Troy <<a href="mailto:troythetechguy@gmail.com">troythetechguy@gmail.com</a>><br>
>> >> >> >> wrote:<br>
>> >> >> >> > I'm having an issue getting clean urls to work. I'm set-up on<br>
>> >> >> >> > a<br>
>> >> >> >> > shared<br>
>> >> >> >> > hosting plan, and my host verified mod_rewrite is already<br>
>> >> >> >> > enabled<br>
>> >> >> >> > on<br>
>> >> >> >> > the<br>
>> >> >> >> > server side. I tried different settings in .htaccess, but<br>
>> >> >> >> > nothing<br>
>> >> >> >> > seems<br>
>> >> >> >> > to<br>
>> >> >> >> > work. Here's the interesting part: When I run the "clean URL<br>
>> >> >> >> > test"<br>
>> >> >> >> > it<br>
>> >> >> >> > passes and the radio buttons to enable clean urls become<br>
>> >> >> >> > functional.<br>
>> >> >> >> > However, after selecting enable, then clicking save<br>
>> >> >> >> > configuration,<br>
>> >> >> >> > the<br>
>> >> >> >> > selection defaults back to disabled.<br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> The only thing which the clean URLs setting does is to make<br>
>> >> >> >> Drupal<br>
>> >> >> >> actually use them in the menu links, if they are *already*<br>
>> >> >> >> enabled<br>
>> >> >> >> by<br>
>> >> >> >> .htaccess. So, try to type some clean URLs yourself in your<br>
>> >> >> >> browser<br>
>> >> >> >> to<br>
>> >> >> >> see if they work. If they do work, then the problem is not clean<br>
>> >> >> >> URLs<br>
>> >> >> >> but saving your setting.<br>
>> >> >> >><br>
>> >> >> >> If they work, try also to force-enable them in your settings.php<br>
>> >> >> >> file<br>
>> >> >> >> by adding a $conf['clean_url'] = 1; at the end.<br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> ><br>
>> >> >> >> > My drupal install is located in a directory called httpdocs,<br>
>> >> >> >> > which<br>
>> >> >> >> > I<br>
>> >> >> >> > was<br>
>> >> >> >> > told is equivalent to /var/www. I did not put the drupal<br>
>> >> >> >> > install<br>
>> >> >> >> > in<br>
>> >> >> >> > a<br>
>> >> >> >> > folder of its own, rather I just installed all the files in the<br>
>> >> >> >> > httpdocs<br>
>> >> >> >> > directory.<br>
>> >> >> >> ><br>
>> >> >> >> > Any ideas or suggestions?<br>
>> >> >> >> ><br>
>> >> >> >> > Thanks,<br>
>> >> >> >> ><br>
>> >> >> >> > Troy<br>
>> >> >> >> ><br>
>> >> >> >> > --<br>
>> >> >> >> > [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
>> >> >> >> ><br>
>> >> >> >> --<br>
>> >> >> >> [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > --<br>
>> >> >> > [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
>> >> >> ><br>
>> >> >> --<br>
>> >> >> [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
>> >> ><br>
>> >> ><br>
>> >> > --<br>
>> >> > [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
>> >> ><br>
>> >> --<br>
>> >> [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
>> ><br>
>> ><br>
>> > --<br>
>> > [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
>> ><br>
>> --<br>
>> [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
><br>
><br>
> --<br>
> [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br>