Results 1 to 6 of 6

Thread: htaccess file help?

  1. #1
    Join Date
    Mar 2009
    Posts
    74
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default htaccess file help?

    Hello, I have run into a bit of a problem.

    I run my own website on godaddy deluxe shared hosting. Yesterday I purchased another domain name.

    I can have upto 25 different domains, hosted simultaneously as long as each domain is in it's own directory within the root of my primary domain.

    For the last 24hrs I've had a simple html landing page for the future site. Today I installed a forum script. Everything went well, no problems.

    However, after I installed and removed the html landing page, the new domain no longer resolves. I get a 500 internal server error. It won't access the index.php file.

    So I removed the index.php file and put back the index.html file. It resolves again.

    Here's the other part. If I go to my primary domain like this http://www.mydomain.com/newdomaindirectory the forum index resolves.

    I called Godaddy and they told me if I remove my htaccess file everything will work. Or I have to edit my htaccess. Of which they can't help.

    Can anybody help me edit so both sites work?

    Thank you

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I probably cannot - my .htaccess is very beginner level, though I may be able to suggest some things.

    But I don't think anyone can help if they can't see what's currently in the .htaccess file. You probably don't need to include any sensitive information, like you can substitute mydomain and otherdomain for the real domain names, use xxxx to represent passwords, if any, etc.

    However, if godaddy has a forum, that might be a better place to pose this question.

    One thing though, are you sure PHP is active on this other domain?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Mar 2009
    Posts
    74
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    I probably cannot - my .htaccess is very beginner level, though I may be able to suggest some things.

    But I don't think anyone can help if they can't see what's currently in the .htaccess file. You probably don't need to include any sensitive information, like you can substitute mydomain and otherdomain for the real domain names, use xxxx to represent passwords, if any, etc.

    However, if godaddy has a forum, that might be a better place to pose this question.

    One thing though, are you sure PHP is active on this other domain?
    Sure, thank you for responding

    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /
    
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
    RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    
    	
    # RewriteBase /video
    # RewriteBase /video
    RewriteBase /

  4. #4
    Join Date
    Feb 2008
    Location
    Fortress of Solitude (mostly lol)
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Cool

    Quote Originally Posted by igotregistered View Post
    Sure, thank you for responding

    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /
    
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
    RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    
    	
    # RewriteBase /video
    # RewriteBase /video
    RewriteBase /
    vBulletin with vBSEO from the looks of it.. I say comment out that last line first the RewriteBase /

    Simply add a # in front of it as you see directly above .

    After that upload it to your server, check and see it this fixes it, if not did you follow the directions properly to install and configure vBSEO?

    Make sure you installed the product, the htaccess file is correct *one comes in the vbseo files you can use that one as yours above is simple and the custom part video is commented out already. I say use that one instead as it's clean and meant for vBSEO .

    Now if that does not work make sure your forum URL is set correctly.

    Here's a video on how to install vBulletin:
    http://www.innovationbyinstinct.com/...tallation.html

    Here's one for Upgrading:
    http://www.innovationbyinstinct.com/...upgrading.html

    These are also available on vBulletin.com and I have a sticky thread here with more tips on Backups, Upgrades, and Recovery:
    http://www.vbulletin.com/forum/showt...s-and-Recovery!

    Just make sure you double check behind yourself and you can get it working .

    Mike

  5. #5
    Join Date
    Mar 2009
    Posts
    74
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Naa, that doesn't work.

    Here's the deal. It is vbSEO. I have a vbulletin forum on the primary domain, and I'm trying to install a forum on the secondary domain.

    While I can install any video script with no problems to a directory on the secondary domain, (ex. vidiscript, clipbucket, clipshare)

    I can't install any community forum to the root or a directory on the secondary forum. I've tried vbulletin, SMF and phpBB3. None of them will install???

    It's driving me nuts.

  6. #6
    Join Date
    Feb 2008
    Location
    Fortress of Solitude (mostly lol)
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Cool

    Quote Originally Posted by igotregistered View Post
    Naa, that doesn't work.

    Here's the deal. It is vbSEO. I have a vbulletin forum on the primary domain, and I'm trying to install a forum on the secondary domain.

    While I can install any video script with no problems to a directory on the secondary domain, (ex. vidiscript, clipbucket, clipshare)

    I can't install any community forum to the root or a directory on the secondary forum. I've tried vbulletin, SMF and phpBB3. None of them will install???

    It's driving me nuts.
    Then it's either something your Host has in place server/setup wise or it's a file/something you have done.

    It would be more helpful for you to check here:

    http://www.vbulletin.com/forum/forum...s-and-Upgrades

    Or

    http://www.vbulletin.com/forum/forum...roubleshooting

    Naturally you would think post in the Installation and Upgrades but you seem to have some experience and more are now browsing the Problems and Troubleshooting forum that would more than likely view your post and might have ran into the exact same situation with their setup etc. On most platforms I would use their official support forums, now if your a SUITE owner you have ticket support just not with Forum but if that's the case simply post and a community member will help you out. The only reason you should post here is more trust based on who you know however I only see 33 posts or if your using this forum to resolve your questions because your running "nulled" software and cannot receive support officially, I'm no psychic but it leaves the mind to wonder just "saying" .

Bookmarks

Posting Permissions

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