Internal Server Error

Status
Not open for further replies.

gcstuff

New Member
Messages
20
Reaction score
0
Points
0
I receive the error below when navigating my website. It happens either when first opened, or when going through payment steps. www.geocachingstuff.com/products





Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, no-reply@x10hosting.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

Please post the contents of the .htaccess file in the /products directory. If using cPanel's file manager you'll need to enable the viewing of dotfiles to see it. Also, verify that nothing is CHMOD 777. Generally, files should be 644 and directories 755.
 

gcstuff

New Member
Messages
20
Reaction score
0
Points
0
I made a .htaccess file, and it's contents are below:

# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# WARNING: PLEASE DO NOT MODIFY THIS FILE MANUALLY. IF NECESSARY, ADD YOUR SPECIFIC CONFIGURATION WITH THE HTACCESS GENERATOR IN BACK OFFICE
# http://www.prestashop.com - http://www.prestashop.com/forums


<IfModule mod_rewrite.c>
# URL rewriting module activation
RewriteEngine on

# URL rewriting rules
RewriteRule ^api/?(.*)$ /products/webservice/dispatcher.php?url=$1 [QSA,L]
RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1-$2$3.jpg [L]
RewriteRule ^([0-9]+)\-([0-9]+)/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1-$2.jpg [L]
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$1$2.jpg [L]
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$2/$1$2$3.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$2/$3/$1$2$3$4.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$2/$3/$4/$1$2$3$4$5.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /products/img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9.jpg [L]
RewriteRule ^c/([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /products/img/c/$1$2.jpg [L]
RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*\.html /products/product.php?id_product=$1 [QSA,L]
RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]* /products/category.php?id_category=$1 [QSA,L]
RewriteRule ^[a-zA-Z0-9-]*/([0-9]+)\-[a-zA-Z0-9-]*\.html /products/product.php?id_product=$1 [QSA,L]
RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*) /products/supplier.php?id_supplier=$1 [QSA,L]
RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*) /products/manufacturer.php?id_manufacturer=$1 [QSA,L]
RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /products/cms.php?id_cms=$1 [QSA,L]
RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /products/cms.php?id_cms_category=$1 [QSA,L]
RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /products/img/c/$1$2.jpg [L]
RewriteRule ^page-not-found$ /products/404.php [QSA,L]
RewriteRule ^address$ /products/address.php [QSA,L]
RewriteRule ^addresses$ /products/addresses.php [QSA,L]
RewriteRule ^authentication$ /products/authentication.php [QSA,L]
RewriteRule ^best-sales$ /products/best-sales.php [QSA,L]
RewriteRule ^cart$ /products/cart.php [QSA,L]
RewriteRule ^contact-us$ /products/contact-form.php [QSA,L]
RewriteRule ^discount$ /products/discount.php [QSA,L]
RewriteRule ^guest-tracking$ /products/guest-tracking.php [QSA,L]
RewriteRule ^order-history$ /products/history.php [QSA,L]
RewriteRule ^identity$ /products/identity.php [QSA,L]
RewriteRule ^manufacturers$ /products/manufacturer.php [QSA,L]
RewriteRule ^my-account$ /products/my-account.php [QSA,L]
RewriteRule ^new-products$ /products/new-products.php [QSA,L]
RewriteRule ^order$ /products/order.php [QSA,L]
RewriteRule ^order-follow$ /products/order-follow.php [QSA,L]
RewriteRule ^quick-order$ /products/order-opc.php [QSA,L]
RewriteRule ^order-slip$ /products/order-slip.php [QSA,L]
RewriteRule ^password-recovery$ /products/password.php [QSA,L]
RewriteRule ^prices-drop$ /products/prices-drop.php [QSA,L]
RewriteRule ^search$ /products/search.php [QSA,L]
RewriteRule ^sitemap$ /products/sitemap.php [QSA,L]
RewriteRule ^stores$ /products/stores.php [QSA,L]
RewriteRule ^supplier$ /products/supplier.php [QSA,L]
</IfModule>

# Catch 404 errors
ErrorDocument 404 /products/404.php
 
Status
Not open for further replies.
Top