Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ultimate SEO Install - almost there, trouble with .htaccess file


Guest

Recommended Posts

This is my second time trying the Ultimate SEO install on a local site. This time around, I checked the site after each step to see where the problem lies. Seems everything works fine right up until I edit the .htaccess file, which when modified, results in the following error message:

 

Server error! The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. If you think this is a server error, please contact the webmaster. Error 500

Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8a mod_autoindex_color PHP/4.4.2

 

The code I'm using is exactly as described in Bobby's instructions, with the only change being /directory/ changed to /catalog/, as instructed.

 

Is the .htaccess update for the rewrites necessary for the contribution to function properly? I seem to have all of the settings currently available in the Configuration menu?

Edited by CCTVcams
Link to comment
Share on other sites

Since the install is setup on a local host, I've modified all of configurations in the Apache httpd.conf configuration file to be: AllowOverride All. For example:

 

<Directory />

Options FollowSymLinks

AllowOverride All <-- changed from AllowOverride None

Order deny,allow

Deny from all

</Directory>

 

I'm thinking about changing all of the "Order deny,allow / Deny from all" to "Order allow,deny / Allow from all", but really in over my head with this stuff - just saw it listed this way in another config file.

 

Not sure if more info is required here, or if anyone else has had a similar problem.

 

I've read through hundreds of posts and can find no solution. Thanks in advance for any assistance.

Link to comment
Share on other sites

Have spent over 5 hours reading well into the thousands of threads. I'm convinced is has to be the .htaccess file and/or something to do with localhost. Seems like this may be a prevalent problem, lots of users discuss the issue, but no real solution has been presented.

 

Thinking it may have to do with enabling mod_rewrite, since it's apparently initially disabled in the Apache configuration file. Added the following to the httpd.conf file and will try with a fresh install again tomorrow:

 

LoadModule rewrite_module modules/mod_rewrite.so

AddModule mod_rewrite.c

 

Will post any progress, meanwhile - any other ideas would be much appreciated.

Link to comment
Share on other sites

Well, for anyone following along - THAT DID IT!!

 

By default, Apache in Xampp is set with mod_rewrite turned off. There's already a line of code in the \xampp\apache\conf\httpd.conf which says:

 

#LoadModule rewrite_module modules/mod_rewrite.so

 

Simply remove the # and you're good to go. The "AddModule mod_rewrite.c" is unnecessary and actually caused Apache not to load.

 

The contribution is working fine now - great contribution, once you get your arms around it!

Link to comment
Share on other sites

  • 4 weeks later...
Well, for anyone following along - THAT DID IT!!

 

By default, Apache in Xampp is set with mod_rewrite turned off. There's already a line of code in the \xampp\apache\conf\httpd.conf which says:

 

#LoadModule rewrite_module modules/mod_rewrite.so

 

Simply remove the # and you're good to go. The "AddModule mod_rewrite.c" is unnecessary and actually caused Apache not to load.

 

The contribution is working fine now - great contribution, once you get your arms around it!

I don't know how I found this. But it sure sounds helpfull.

Now how do I change (or even find) \xampp\apache\conf\httpd.conf ???

Link to comment
Share on other sites

I don't know how I found this. But it sure sounds helpfull.

Now how do I change (or even find) \xampp\apache\conf\httpd.conf ???

 

Contact your server they can tell you.

 

On some servers you can not change these settings yourself. If that is the case you might want to move servers.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

Delete "Options +FollowSymLinks" The first line of the .htaccess

 

Contact your server they can tell you.

 

On some servers you can not change these settings yourself. If that is the case you might want to move servers.

 

After talking to tec support at my host, he said the first line of the .htaccess file is not supported.

Options +FollowSymLinks

 

It Ultimate_SEO_URLS_v2[1].1d_1 started working as soon as I deleted it.

 

Now I get 404 errors when any product is clicked on, but the url's have changed.

 

Reading up on FollowSymLinks and SymLinksIfOwnerMatch at apache.org, my guess is that my host has the httpd set "For highest performance use AllowOverride None everywhere in your filesystem."

It's interesting that my host provides oscommerce as the default shopping cart, and they are pretty big - lots of others are using osc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...