View previous topic :: View next topic |
Author |
Message |
puertoblack2003 -
Joined: 08 Oct 2006 Posts: 87
|
Posted: Thu May 01, 2008 8:36 pm Post subject: Video Web Program Mod Rewrite |
|
|
hello,
i seem to be stuck on adding mod rewrite for this video webs site program and it got confusing when trying to add it.Can someone help me.
Quote: | <IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^browse/videos/(.*)/(.*)/(.*)/(.*) /videos.php?sortby=$1&filter=$2&page=$3&title=$4
RewriteRule ^browse/videoseries/(.*)/(.*)/(.*)/(.*) /videoseries.php?sortby=$1&filter=$2&page=$3&title=$4
RewriteRule ^browse/channels/(.*)/(.*)/(.*)/(.*) /channels.php?sortby=$1&filter=$2&page=$3&title=$4
RewriteRule ^browse/members/(.*)/(.*)/(.*)/(.*) /members.php?sortby=$1&filter=$2&page=$3&title=$4
RewriteRule ^search/(.*)/(.*)/(.*)/(.*) /search.php?searchfor=$1&sortby=$2&page=$3&searchterm=$4
RewriteRule ^browse/categories/videos/(.*)/(.*)/(.*)/(.*) /categoryvideos.php?sortby=$1&filter=$2&page=$3&title=$4
RewriteRule ^browse/categories/channels/(.*)/(.*)/(.*)/(.*) /categorychannels.php?sortby=$1&filter=$2&page=$3&title=$4
RewriteRule ^videos/(.*)/(.*) /playvideo.php?videoid=$1&title=$2
RewriteRule ^([-_~*a-zA-Z0-9]+)(\/)?$ channeldetails.php?key=$1
RewriteRule ^confirmemail/(.*) /confirmemail.php?code=$1
RewriteRule ^resetpassword/(.*) /resetpassword.php?code=$1
RewriteRule ^resendconfirmation/(.*) /resendconfirmation.php?userid=$1
RewriteRule ^members/profile/(.*)/(.*) /memberprofile.php?pid=$1&username=$2
RewriteRule ^members/videos/(.*)/(.*) /membervideos.php?pid=$1&username=$2
RewriteRule ^members/channels/(.*)/(.*) /memberchannels.php?pid=$1&username=$2
RewriteRule ^members/comments/(.*)/(.*) /membercomments.php?pid=$1&username=$2
RewriteRule ^members/favorites/(.*)/(.*) /memberfavorites.php?pid=$1&username=$2
RewriteRule ^members/subscribers/(.*)/(.*) /membersubscribers.php?pid=$1&username=$2
RewriteRule ^members/friends/(.*)/(.*) /memberfriends.php?pid=$1&username=$2
RewriteRule ^members/series/(.*)/(.*) /memberseries.php?pid=$1&username=$2
RewriteRule ^videoseries/(.*)/(.*) /seriesdetails.php?seriesid=$1&name=$2
RewriteRule ^syndicate/videos/(.*)/(.*) /syndicatevideos.php?filter=$1&title=$2
RewriteRule ^syndicate/categoryvideos/(.*)/(.*) /syndicatecategoryvideos.php?filter=$1&title=$2
RewriteRule ^syndicate/videoseries/(.*)/(.*) /syndicatevideoseries.php?filter=$1&title=$2
RewriteRule ^syndicate/channels/(.*)/(.*) /syndicatechannels.php?filter=$1&title=$2
RewriteRule ^syndicate/categorychannels/(.*)/(.*) /syndicatecategorychannels.php?filter=$1&title=$2
RewriteRule ^syndicate/members/(.*)/(.*) /syndicatemembers.php?filter=$1&title=$2
RewriteRule ^download/video/(.*)/(.*) /downloadvideo.php?VIDEOID=$1&title=$2
RewriteRule ^share/video/(.*) /sharevideo.php?videoid=$1
RewriteRule ^comments/videos/(.*)/(.*) /videocomments.php?videoid=$1&title=$2
</IfModule>
<IfModule mod_security.c>
# Turn off mod_security filtering.
SecFilterEngine Off
# The below probably isn't needed,
# but better safe than sorry.
SecFilterScanPOST Off
</IfModule>
|
There used to be a script that you guys had a while back about using these phrase and it worked i think it was at http://www.trustabyss.com/ but its not there..
thanks for your help really need this to work |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu May 15, 2008 4:17 pm Post subject: Re: Video Web Program Mod Rewrite |
|
|
puertoblack2003,
What is the URL of the script in your site? This information will help us give you accurate instructions for doing the conversion (and contacting our technical support by email will make things even faster ;) ). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|