Hello. I have bought a website script and I get always 500 internal error. I have followed every details that are described in the installation document. The script I bought is called GroupDeal and it's from Agriya.com. The folders are like this .htaccess app/ core/ The htaccess root directory is like that: Options -Indexes <IfModule mod_rewrite.c> RewriteEngine On #Force WWW # RewriteCond %{HTTP_HOST} !^www # RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [L,R=301] #No WWW RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L] # If installed in root without setting DOCUMENT_ROOT: # RewriteBase / # If installed in local or under a path say /dev1base/: (otherwise, doesn't need RewriteBase) RewriteBase / RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] </IfModule> # gzip <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript text/css text/html </IfModule> # browser caching <IfModule mod_expires.c> FileETag None ExpiresActive On ExpiresByType text/css "access plus 1 month" ExpiresByType text/javascript "access plus 1 month" ExpiresByType application/x-javascript "access plus 1 month" ExpiresByType application/javascript "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" # ExpiresByType video/x-flv "access plus 1 month" ExpiresByType application/x-shockwave-flash "access plus 1 month" # special MIME type for icons AddType image/vnd.microsoft.icon .ico # now we have icon MIME type, we can use it # my favicon doesn't change much ExpiresByType image/vnd.microsoft.icon "access plus 3 months" </IfModule> Code (markup): And the /app/.htaccess look like this: # In local: in httpd/conf/projects/dev1base.conf :# alias /dev1base F:/projects/grouponpro/trunk/..../webroot/ ###################################### # Root .htaccess # Case 1: When installing in root but without setting DOCUMENT_ROOT, e.g, http://www.example.com/ : # In the root above /app (say, public_html) # --> # Options +FollowSymLinks # needed for some hosts, especially GoDaddy #<IfModule mod_rewrite.c> # RewriteEngine on # RewriteBase /app/ # RewriteRule ^$ webroot/ [L] # RewriteRule (.*) webroot/$1 [L] # </IfModule> # <-- # Case 2: When installing in folder next to root, e.g., http://www.example.com/grouponpro/ : # In the root above /app (say, public_html/dev1base/) # --> #<IfModule mod_rewrite.c> # RewriteEngine on # RewriteBase /grouponpro/app/ # RewriteRule ^$ webroot/ [L] # RewriteRule (.*) webroot/$1 [L] # </IfModule> ######################################## # This .htaccess # Case 1: When installing in root but without setting DOCUMENT_ROOT, e.g, http://www.example.com/ : #<IfModule mod_rewrite.c> # RewriteEngine on # RewriteBase /app/ # RewriteRule ^$ webroot/ [L] # RewriteRule (.*) webroot/$1 [L] # </IfModule> # Case 2: When installing in folder next to root, e.g., http://www.example.com/grouponpro/ : #<IfModule mod_rewrite.c> # RewriteEngine on # RewriteBase /grouponpro/app/ # RewriteRule ^$ webroot/ [L] # RewriteRule (.*) webroot/$1 [L] # </IfModule> <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L] </IfModule> Code (markup): And the last .htaccess file in /app/webroot/.htaccess Options -Indexes <IfModule mod_rewrite.c> RewriteEngine On #Force WWW # RewriteCond %{HTTP_HOST} !^www # RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [L,R=301] #No WWW RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L] # If installed in root without setting DOCUMENT_ROOT: # RewriteBase / # If installed in local or under a path say /dev1base/: (otherwise, doesn't need RewriteBase) RewriteBase / RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] </IfModule> # gzip <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript text/css text/html </IfModule> # browser caching <IfModule mod_expires.c> FileETag None ExpiresActive On ExpiresByType text/css "access plus 1 month" ExpiresByType text/javascript "access plus 1 month" ExpiresByType application/x-javascript "access plus 1 month" ExpiresByType application/javascript "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" # ExpiresByType video/x-flv "access plus 1 month" ExpiresByType application/x-shockwave-flash "access plus 1 month" # special MIME type for icons AddType image/vnd.microsoft.icon .ico # now we have icon MIME type, we can use it # my favicon doesn't change much ExpiresByType image/vnd.microsoft.icon "access plus 3 months" </IfModule> Code (markup): Can anyone help me to figure out why I am getting this error?
Check the error logs. Should tell you what exact line is causing the issue or at least point you in the right direction.
samirj09 is correct check error logs, sometimes its php or scripting that causes 500 error on the server so better check error log