guys when i upload my .htaccess file on server it gives 500 total interal....error,while deleting it gives no errors,also in local host it works fine.
am attaching my htaccess file here can anyone pls debug it?
am attaching my htaccess file here can anyone pls debug it?
PHP Code:
AddType application/x-httpd-php54 .php
RewriteEngine On
RewriteRule ^tool/([^/]+)/?$ index.php?tool=$1 [NC,QSA,L]
RewriteRule ^dir/([0-9]+)/?$ index.php?dir=$1 [NC,QSA,L]
RewriteRule ^dir/([0-9]+)/([^/]+)/?$ index.php?dir=$1 [NC,QSA,L]
RewriteRule ^dir/([0-9]+)/([^/]+)/page/([0-9]+)/?$ index.php?dir=$1&page=$3 [NC,QSA,L]
RewriteRule ^file/([0-9]+)/?$ index.php?file=$1 [NC,QSA,L]
RewriteRule ^file/([0-9]+)/([^/]+)/?$ index.php?file=$1&fname=$2 [NC,QSA,L]
RewriteRule ^file/([0-9]+)/([^/]+)/page/([0-9]+)/?$ index.php?file=$1&fname=$2&page=$3 [NC,QSA,L]
RewriteRule ^external/(.+)/?$ index.php?redirect=$1 [NC,QSA,L]
RewriteRule ^download/([0-9]+)/?$ admin_updates.php?ID=$1&action=downloadFile [NC,QSA,L]
RewriteRule ^download/([0-9]+)/([^/]+)/?$ admin_updates.php?ID=$1&action=downloadFile [NC,QSA,L]
RewriteRule ^resize/([0-9]+)/([0-9]+)/([0-9]+)/?$ admin_updates.php?ID=$1&w=$2&h=$3&action=resizeFile [NC,QSA,L]
RewriteRule ^resize/([0-9]+)/([^/]+)/([0-9]+)/([0-9]+)/?$ admin_updates.php?ID=$1&w=$3&h=$4&action=resizeFile [NC,QSA,L]
RewriteRule ^modify/([0-9]+)/([^/]+)/?$ admin_updates.php?ID=$1&effect=$2&action=modifyFile [NC,QSA,L]
RewriteRule ^modify/([0-9]+)/([^/]+)/([^/]+)/?$ admin_updates.php?ID=$1&effect=$3&action=modifyFile [NC,QSA,L]
RewriteRule ^updates/?$ index.php?updates=$1 [NC,QSA,L]
RewriteRule ^updates/page/([0-9]+)/?$ index.php?updates=1&page=$1 [NC,QSA,L]
RewriteRule ^online/?$ index.php?online=$1 [NC,QSA,L]
RewriteRule ^shoutbox/?$ index.php?shoutbox=$1 [NC,QSA,L]
RewriteRule ^shoutbox/page/([0-9]+)/?$ index.php?shoutbox=1&page=$1 [NC,QSA,L]
RewriteRule ^user/([^/]+)/?$ index.php?user=$1 [NC,QSA,L]
RewriteRule ^user/([^/]+)/files/?$ index.php?search&type=user&slug=$1 [NC,QSA,L]
RewriteRule ^user/([^/]+)/files/(name|size|type|hits|added_on|updated_on)/(asc|desc)/?$ index.php?search&type=user&slug=$1&sort_by=$2&order_by=$3 [NC,QSA,L]
RewriteRule ^user/([^/]+)/files/(name|size|type|hits|added_on|updated_on)/(asc|desc)/page/([0-9]+)/?$ index.php?search&type=user&slug=$1&sort_by=$2&order_by=$3&page=$4 [NC,QSA,L]
RewriteRule ^search/([^/]+)/?$ index.php?search=$1 [NC,QSA,L]
RewriteRule ^search/([^/]+)/(name|size|type|hits|added_on|updated_on)/(asc|desc)/?$ index.php?search=$1&sort_by=$2&order_by=$3 [NC,QSA,L]
RewriteRule ^search/([^/]+)/page/([0-9]+)/?$ index.php?search=$1&page=$2 [NC,QSA,L]
RewriteRule ^search/([^/]+)/(name|size|type|hits|added_on|updated_on)/(asc|desc)/page/([0-9]+)/?$ index.php?search=$1&sort_by=$2&order_by=$3&page=$4 [NC,QSA,L]
RewriteRule ^user/([^/]+)/files/page/([0-9]+)/?$ index.php?search&type=user&slug=$1&page=$2 [NC,QSA,L]
php_value upload_max_filesize 1000M
php_value post_max_size 1000M
php_value max_execution_time 10000
php_value max_input_time 10000
Comment