Results 1 to 5 of 5

.htaccess question

This is a discussion on .htaccess question within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Okay, I have another site/domain on my server that also has my forums. On that other site, there is a ...

  1. #1
    Member JADM's Avatar
    Real Name
    Jason
    Join Date
    Dec 2007
    Posts
    79
    Liked
    0 times
    Blog Entries
    18

    Exclamation .htaccess question

    Okay, I have another site/domain on my server that also has my forums. On that other site, there is a contact page, which is .php extension and has a little .js script to send e-mail to me. I THINK it has been working fine, but a few days ago a client contacted me and told me the page is not working (http://www.peblawyer.com/contact_jason_perry.php) and it gives a 500 error.

    After contacting tech support, they tell me it is a problem with .htaccess file. I thought it has been running fine (both my forums and the contact us page) but before I start laying into them, I thought I would check. I have only added the default vBSEO .htaccess page without changes. In looking at it, I see the following:

    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

    Again, stick with me if this is dumb or obvious, I see the #, which means this line is ignored by the script, right? Or do I need to manually change the "yourdomain" to "pebforum"? It seems I would, logically, I just wonder if there is something in the plug in that does this automatically based on what I input in admincp. Thanks in advance for the help!!!
    Last edited by JADM; 01-22-2008 at 12:30 PM.

  2. #2
    Member JADM's Avatar
    Real Name
    Jason
    Join Date
    Dec 2007
    Posts
    79
    Liked
    0 times
    Blog Entries
    18
    This is driving me nuts. I can't see how that .htaccess would have an effect on the other page/script! The htaccess is in the root, other is in a folder. Is it me or is my hosting company hosed up? Any thoughts are appreciated.

  3. #3
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hello,

    if you have that other site located in a subfolder, you can create .htaccess in that folder:
    Code:
    RewriteEngine off

  4. #4
    Member JADM's Avatar
    Real Name
    Jason
    Join Date
    Dec 2007
    Posts
    79
    Liked
    0 times
    Blog Entries
    18

    Oleg is the man

    Oleg,

    A two minute fix! You are the best.

    My hosting tech support: "Unfortunately, we cannot give tech support or advice on third party yada yada yada...." If they continue to be this bad, I will bite the bullet and migrate all my sites to a new host.

    Thanks a million!

  5. #5
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    I'm glad we got it sorted!

Similar Threads

  1. .htaccess Question RE: www and no www
    By VinylJunky in forum General Discussion
    Replies: 13
    Last Post: 11-23-2007, 12:14 PM
  2. htaccess question
    By sfnet in forum Troubleshooting
    Replies: 5
    Last Post: 10-19-2007, 07:07 PM
  3. .htaccess question
    By Salva87 in forum URL Rewrite Settings
    Replies: 5
    Last Post: 09-24-2007, 07:21 PM
  4. .htaccess question
    By myfishtanknet in forum General Discussion
    Replies: 3
    Last Post: 09-11-2007, 09:29 PM
  5. .htaccess question
    By Aneurysm in forum General Discussion
    Replies: 1
    Last Post: 12-05-2006, 02:55 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •