Hello, i am trying to set up an video share script...
I got this problem. When i am trying to enter my site it says:
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster.
So i checked my apache error log, and it said:
[Tue Sep 02 19:34:51 2008] [alert] [client 127.0.0.1] C:/xampp/htdocs/clip/.htaccess: Invalid command 'RewriteCond', perhaps misspelled or defined by a module not included in the server configuration
This is my .htaccess file:
<IfModule mod_security.c>
secfilterengine off
secfilterscanPOST off
</IfModule>
Options +Indexes
<FilesMatch "\.(db|inc|html|tmpl|h|ihtml|sql|ini|configuration|config|class|bin|spd|theme|module|cfg|cpl|tmp|log|err|inc.php|class.php)$">
order allow,deny
satisfy all
</FilesMatch>
########## Begin - Rewrite rules to block out some common exploits
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
########## Begin - Rewrite rules For SEO urls ######################
#
Options +FollowSymlinks
RewriteEngine on
#
#
#
#URL Rewriting for Videos
RewriteRule ^videos videos.php [nc]
RewriteRule ^video/(.*)/(.*) watch_video.php?v=$1 [nc]
RewriteRule ^user/videos/(.*) user_videos.php?user=$1 [nc]
#
#
#
#Signup Login & Logout URL Rewriting
# signup.php [nc]
RewriteRule ^login/success login_success.php [nc]
#RewriteRule ^welcome/success # signup_success.php [nc]
#
#
#
#Messages
RewriteRule ^message/sent sent.php [nc]
RewriteRule ^message/inbox inbox.php [nc]
RewriteRule ^message/compose compose.php [nc]
RewriteRule ^message inbox.php [nc]
#
#
#
#Users, Channel & Management
#
RewriteRule ^members/ channels.php [nc]
RewriteRule ^users/ channels.php [nc]
RewriteRule ^channels/ channels.php [nc]
#
RewriteRule ^user/ channels.php [nc]
RewriteRule ^user/channel/(.*) view_channel.php?user=$1 [nc]
RewriteRule ^channel/(.*) view_channel.php?user=$1 [nc]
RewriteRule ^user/contacts/(.*) user_contacts.php?user=$1 [nc]
RewriteRule ^user/videos/(.*) user_videos.php?user=$1 [nc]
RewriteRule ^user/favourites/(.*) user_fav_videos.php?user=$1 [nc]
#
RewriteRule ^myaccount myaccount.php [nc]
RewriteRule ^manage/videos/ manage_videos.php [nc]
RewriteRule ^manage/favourites/ manage_favourites.php [nc]
RewriteRule ^manage/contacts/ manage_contacts.php [nc]
RewriteRule ^manage/subscriptions/ manage_subscriptions.php [nc]
RewriteRule ^manage/account user_account.php [nc]
RewriteRule ^manage/video/edit edit_video.php [nc]
#
#
#
#Pages
RewriteRule ^pages/help help.php [nc]
RewriteRule ^pages/privacy privacy.php [nc]
RewriteRule ^pages/termsofuse termsofuse.php [nc]
RewriteRule ^pages/contactus contactus.php [nc]
RewriteRule ^pages/aboutus aboutus.php [nc]
#
#
#
#Miscellenous
RewriteRule ^subscriptions manage_subscriptions.php [nc]
RewriteRule ^search/result search_result.php [nc]
RewriteRule ^upload upload.php [nc]
#
#
#Group Section
RewriteRule ^group/leave/([a-zA-Z0-9].+) leave_group.php?url=$1 [nc]
RewriteRule ^manage/group/videos/([a-zA-Z0-9].+) manage_group_videos.php?url=$1 [nc]
RewriteRule ^manage/group/videos/([a-zA-Z0-9].+) manage_group_videos.php?url=$1 [nc]
RewriteRule ^manage/group/addvideos/([a-zA-Z0-9].+) add_group_videos.php?url=$1 [nc]
RewriteRule ^manage/group/members/([a-zA-Z0-9].+) manage_group_members.php?url=$1 [nc]
RewriteRule ^manage/group manage_groups.php
RewriteRule ^group/topic/([a-zA-Z0-9].+) view_topic.php?tid=$1 [nc]
RewriteRule ^group/view/([a-zA-Z0-9].+) view_group.php?url=$1 [nc]
RewriteRule ^group/videos/([a-zA-Z0-9].+) view_group_videos.php?url=$1 [nc]
RewriteRule ^group/members/([a-zA-Z0-9].+) view_group_members.php?url=$1 [nc]
RewriteRule ^group/invite/([a-zA-Z0-9].+) invite_group.php?url=$1 [nc]
RewriteRule ^manage/group/edit/([a-zA-Z0-9]) edit_group.php?url=$1 [nc]
RewriteRule ^group/create/ create_group.php [nc]
RewriteRule ^group/join/([a-zA-Z0-9].+) join_group.php?url=$1 [nc]
RewriteRule ^community groups.php [nc]
RewriteRule ^group/delete delete_group.php [nc]
########## End - Rewrite rules For SEO urls ######################
Can anyone help me plz?