The error is that the the url's are not being rewritten. when i click on any one of my products it gives me this error :
Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
oscommerce.local
10/19/07 13:57:21
Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8d mod_autoindex_color PHP/5.2.1
Did you test this on a development server first or did you do this in production? Have you tested to make sure that mod_rewrite is actually working properly? What have you tried so far?
I had it working perfectly on my http://localhost/ and when i added in the contribution it didnt work. I'm sure its the rewrite thats not working properly
There are a couple of things you can do. One is to change the rewrite rule from index.php.... to catalog/index.php...
The other, which is what I do, is to make local virtual hosts on your local server. I do this because, quite honestly, I will rarely be working a site to be http://site.tld/mylocalfoldername so to keep things as close to in sync as possible, I create a local server called site.dev and build my development stuff in there.
If you are on an apache server you can easily turn on the NameVirtualHost property (usually to 127.0.0.1) then create a virtual host using the VirtualHost property. After you set it up, change your host file to make sure that the hostname you choose for the virtual host is pointed at 127.0.0.1 so everything works like it should.
Doing it this way makes your development effort locally almost identical to your production environment web server set up.
You are going to need to prepend the index.php (or whatever page is assigned as the handler) with catalog/ for this work. Try it and see if that works.
# $Id: $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
# AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)
# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers
#<IfModule mod_setenvif.c>
# <IfDefine SSL>
# SetEnvIf User-Agent ".*MSIE.*" \
# nokeepalive ssl-unclean-shutdown \
# downgrade-1.0 force-response-1.0
# </IfDefine>
#</IfModule>
# If Search Engine Friendly URLs do not work, try enabling the
# following Apache configuration parameter
# AcceptPathInfo On
# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)
# php_value session.use_trans_sid 0
# php_value register_globals 1
Options +FollowSymLinks
RewriteEngine On
RewriteBase /catalog/
RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING}
RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING}