I don't have access to these as I am being hosted on bluehost. I read http://drupal.org/getting-started/clean-urls but the text is outdated:
Location of index.php
For some server configurations, another change to the Drupal .htaccess file may be necessary. Find a line that looks like this, near the end of your Drupal .htaccess file:
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
You may need to replace index.php with the URL path to your Drupal installation's index.php file (only the part after the base URL). For instance, if your site's home page URL is http://example.com/subdir/, you might need to use /subdir/index.php instead of index.php. If your site's home page URL is http://example.com/, you might need to use /index.php instead ofindex.php. This is necessary on some, but not all server configurations.
I don't find that RewriteRule line in my .htaccess. I guess I will go back to the enabling the line <!--<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.tony-mac.com/drupal/">--> at the index.html at my site root. At least that worked.
On Fri, Jul 22, 2
011 at 11:54 AM, Jamie Holly hovercrafter@earthlink.net wrote:
** Nope - this would be in your Apache configuration file, or one of them. It depends on your distribution and where they set-up the SSL directives.
Jamie Hollyhttp://www.intoxination.net http://www.hollyit.net
On 7/22/2011 2:37 PM, tony maciejowski wrote:
Do you mean in the .htaccess file?
On Fri, Jul 22, 2011 at 11:33 AM, Jamie Holly hovercrafter@earthlink.netwrote:
That sounds like a VHost issue in your SSL configuration. Try adding a:
ServerAlias *.mydomain.com
where you have the configuration for your SSL set (sites-available, httpd.conf, etc..)
Jamie Hollyhttp://www.intoxination.net http://www.hollyit.net
On 7/22/2011 12:47 PM, Lynn Stott (Stott Design) wrote:
Thanks Jamie for sticking with me!
This works when someone browses without the "www", but doesn't work with www.mysite.com
Thanks, Lynn Stott www.stottdesign.com 208.871.0073
On Jul 22, 2011, at 10:32 AM, Jamie Holly wrote:
Shouldn't have done it from memory LOL. Try this one:
RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(.*)$ https://%%7BSERVER_NAME%7D$1 [L,R]
Jamie Hollyhttp://www.intoxination.net http://www.hollyit.net
On 7/22/2011 12:07 PM, Lynn Stott (Stott Design) wrote:
This doesn't work.
Thanks, Lynn Stott www.stottdesign.com 208.871.0073
On Jul 22, 2011, at 9:56 AM, Jamie Holly wrote:
Generic to force everything to ssl:
ReWriteCond %{SERVER_PORT} !^443$ RewriteRule ^/(.*) https://%%7BHTTP_HOST%7D/$1 [NC,R,L]
Jamie Hollyhttp://www.intoxination.net http://www.hollyit.net
On 7/22/2011 11:52 AM, Lynn Stott (Stott Design) wrote:
Yes, Linux, VPS, not shared.
No support on this from my host... on my own with this and I just don't know .htaccess.
Thanks, Lynn Stott www.stottdesign.com 208.871.0073
On Jul 22, 2011, at 8:17 AM, Shai Gluskin wrote:
Lynn,
Are you on a Linux server? I think you are talking about using a mod_rewrite solution which, I think, only works on Linux.
mod_rewrite is incredibly powerful and fussy. I wouldn't risk advising you on the actual script.
I actually think this kind of question might best be handled by the support team at your server company. I'm not saying you shouldn't ask here... but if you don't get a response that helps, that is another route to go.
Shai
On Fri, Jul 22, 2011 at 10:10 AM, Lynn Stott (Stott Design) < lynn@stottdesign.com> wrote:
Can some help with .htaccess?
How do you redirect all https://www.site.com http://www.site.com http://site.com
to
Thanks,
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]