Options ExecCGI is off

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
justgrafx
Forum Newbie
Posts: 4
Joined: Thu Nov 24, 2005 10:17 am

Options ExecCGI is off

Post by justgrafx »

I install a simple cart on a website, everything is working exept that when a upload the .htaccess file in the store directorie, then it give me no acces, it wont work. And if I use the standard .htacess file I can acces to the store but it wont get the categorie, sub-categorie create on the physical serveur. In the erro log I receive an CGI error:

Options ExecCGI is off in this directory: /home/prologan/public_html/store/index.php

this is the link to the sitestore:
http://www.prologantilles.com/store/

I need a programer to look at this and I need that rush, i will gladely pay for this service, but i need to make irt work.

Thanks
Dominic
justgrafx
Forum Newbie
Posts: 4
Joined: Thu Nov 24, 2005 10:17 am

Post by justgrafx »

Here's the .htaccess file that is use with the cart:

Options FollowSymLinks
RewriteEngine on



# EXISTING DIRECTORIES

RewriteRule ^images/(.*) images/$1 [L]
RewriteRule ^images images [L]


# EXISTING FILES
RewriteRule ^index\.html$ index.php [L]
RewriteRule ^cart\.html$ cart.php [L]
RewriteRule ^contactus\.html$ contactus.php [L]
RewriteRule ^search\.html$ search.php [L]
RewriteRule ^help\.html$ help.php [L]


RewriteRule ^category(.*).html$ ShowCategory.php?CategoryID=$1 [L]
RewriteRule ^item(.*)\.html$ ViewItem.php?ItemID=$1 [L]
RewriteRule ^subcategory(.*)_(.*)\.html$ ShowCategory.php?CategoryID=$1&SubcategoryID=$2 [L]
Post Reply