Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 11-17-2008, 03:08 AM
oarecare oarecare is offline
Hatchling Croc
 
Join Date: Oct 2008
Posts: 7
Default htaccess issue

i am using a site-wide php.ini and virtual directory support
my problem is with the error redirects... they do not get done (they work perfectly with virtual directory disabled)

.htaccess
ErrorDocument 404 /404.shtml
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/********/
<Files php.ini>
order allow,deny
deny from all
</Files>
</IfModule>
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} !^www.example.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
Options +FollowSymlinks
RewriteBase /
RewriteRule .* index.php [L]


of course, example.com changed to my sitename
i can access http://www.example.com/404.shtml, and if it is the only line in .htaccess, 404 redirects to it. but not in this example...

any help will be much appreciated.
Reply With Quote
  #2  
Old 11-20-2008, 09:18 AM
oarecare oarecare is offline
Hatchling Croc
 
Join Date: Oct 2008
Posts: 7
Default Re: htaccess issue

anybody???
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 11:48 AM.

 
Forum SEO by Zoints