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