View Single Post
Old 04-20-2016, 11:09 AM  
linkhouse
Registered User
 
linkhouse's Avatar
 
Industry Role:
Join Date: Jun 2014
Posts: 68
Quote:
Originally Posted by linkhouse View Post
I have tried the script on a domain now. like: www . mycamdomain . com
It loads fine, but when I try to go to a cam like www . mycamdomain . com / cam / hotty

it just reloads the same page but with a new url www . mycamdomain . com / cam / hotty

I fix it!
I found a old version of the script and there was the htaccess file:


Order Deny,Allow
Allow from all

Options -Indexes

RewriteEngine On

RewriteRule ^([a-zA-Z0-9\-\_]+)[/]*$ /index.php?cmd=$1 [NC,L]
RewriteRule ^([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*$ /index.php?cmd=$1&arg1=$2 [NC,L]
RewriteRule ^([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*$ /index.php?cmd=$1&arg1=$2&arg2=$3 [NC,L]
RewriteRule ^([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*([a-zA-Z0-9\-\_]+)[/]*$ /index.php?cmd=$1&arg1=$2&arg2=$3&arg3=$4 [NC,L]
linkhouse is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote