I moved to another host last night but had several vshare sites working on cirtex. My sites were fully working and video conversion problems ceased (with no explanation) and right as that happened, I was in the process of moving everything to another host. However, the last thing is that everything was working on cirtex just before I changed the nameservers on my domains to the new host. So, with that said......
Here's my .htaccess I have over there at cirtex:
Code:
AddType application/x-httpd-php5 .php5 .php
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^admin$ - [L]
RewriteRule ^admin/(.*) - [L]
RewriteRule ^install$ - [L]
RewriteRule ^install/(.*) - [L]
RewriteRule ^$ index.php
RewriteRule ^view/(.*)/(.*)/ view_video.php?id=$1 [L,QSA]
RewriteRule ^tag/(.*)/(.*) tag.php?search_id=$1&page=$2 [L,QSA]
RewriteRule ^channel/(.*)/(.*)/recent/(.*) video.php?category=recent&chid=$1&page=$3
RewriteRule ^channel/(.*)/(.*)/viewed/(.*) video.php?category=viewed&chid=$1&page=$3
RewriteRule ^channel/(.*)/(.*)/ channel_detail.php?id=$1
RewriteRule ^detailed/recent/(.*) video.php?category=recent&page=$1&viewtype=detailed
RewriteRule ^detailed/viewed/(.*) video.php?category=viewed&page=$1&viewtype=detailed
RewriteRule ^detailed/discussed/(.*) video.php?category=discussed&page=$1&viewtype=detailed
RewriteRule ^detailed/favorites/(.*) video.php?category=favorites&page=$1&viewtype=detailed
RewriteRule ^detailed/rated/(.*) video.php?category=rated&page=$1&viewtype=detailed
RewriteRule ^detailed/featured/(.*) video.php?category=featured&page=$1&viewtype=detailed
RewriteRule ^detailed/random/(.*) video.php?category=random&page=$1&viewtype=detailed
RewriteRule ^recent/(.*) video.php?category=recent&page=$1
RewriteRule ^viewed/(.*) video.php?category=viewed&page=$1
RewriteRule ^discussed/(.*) video.php?category=discussed&page=$1
RewriteRule ^favorites/(.*) video.php?category=favorites&page=$1
RewriteRule ^rated/(.*) video.php?category=rated&page=$1
RewriteRule ^featured/(.*) video.php?category=featured&page=$1
RewriteRule ^random/(.*) video.php?category=random&page=$1
RewriteRule ^rss/new/ rss.php?type=new [L]
RewriteRule ^rss/comments/ rss.php?type=comments [L]
RewriteRule ^rss/views/ rss.php?type=views [L]
RewriteRule ^group/(.*)/members/(.*) group_members.php?urlkey=$1&page=$2
RewriteRule ^group/(.*)/videos/(.*) group_videos.php?urlkey=$1&page=$2
RewriteRule ^group/(.*)/add/(.*) add_video.php?urlkey=$1&page=$2
RewriteRule ^group/(.*)/fav/(.*) add_favour.php?urlkey=$1&page=$2
RewriteRule ^group/(.*)/topic/(.*) group_posts.php?urlkey=$1&tid=$2
RewriteRule ^group/(.*)/invite/ invite_members.php?urlkey=$1 [L,QSA]
RewriteRule ^group/(.*)/ groups_home.php?urlkey=$1 [L,QSA]
RewriteRule ^groups/(.*)/(.*)/(.*) groups.php?chid=$1&page=$3
RewriteRule ^groups/(.*)/(.*) groups.php?category=$1&page=$2
RewriteRule ^include/(.*) http://www.vshare.in
RewriteRule ^pages/(.*).html$ show_page.php?name=$1 [QSA,L]
RewriteRule ^([^/\.]+)/favorites/(.*) user_favorites.php?username=$1&page=$2
RewriteRule ^([^/\.]+)/playlist/(.*) playlist.php?username=$1&page=$2
RewriteRule ^([^/\.]+)/friends/(.*) user_friends.php?username=$1&page=$2
RewriteRule ^([^/\.]+)/public/(.*)$ user_videos.php?username=$1&type=public&page=$2
RewriteRule ^([^/\.]+)/private/(.*)$ user_videos.php?username=$1&type=private&page=$2 [L,QSA]
RewriteRule ^([^/\.]+)/groups/(.*)$ user_groups.php?username=$1&page=$2 [L,QSA]
RewriteRule ^([^/\.]+)?/?$ user.php?username=$1 [L,QSA]
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
<IfModule mod_gzip.c>
mod_gzip_on No
</IfModule>
php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value output_buffering on
php_value max_execution_time 1000
php_value max_input_time 1000
php_value session.gc_maxlifetime 14400
<IfModule mod_security.c>
SecFilterEngine Off
php_value max_execution_time 6000000
php_value max_input_time 600000
php_value output_buffering On
RewriteEngine On
#php_flag register_globals off
Order allow,deny
Allow from all
Options All -Indexes
Did you also include a php.ini in the same place that the .htaccess exists?
Here's my php.ini...not sure if all that stuff in there is necessary, but this worked for me:
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^admin$ - [L]
RewriteRule ^admin/(.*) - [L]
RewriteRule ^install$ - [L]
RewriteRule ^install/(.*) - [L]
RewriteRule ^$ index.php
RewriteRule ^view/(.*)/(.*)/ view_video.php?id=$1 [L,QSA]
RewriteRule ^tag/(.*)/(.*) tag.php?search_id=$1&page=$2 [L,QSA]
RewriteRule ^channel/(.*)/(.*)/recent/(.*) video.php?category=recent&chid=$1&page=$3
RewriteRule ^channel/(.*)/(.*)/viewed/(.*) video.php?category=viewed&chid=$1&page=$3
RewriteRule ^channel/(.*)/(.*)/ channel_detail.php?id=$1
RewriteRule ^detailed/recent/(.*) video.php?category=recent&page=$1&viewtype=detailed
RewriteRule ^detailed/viewed/(.*) video.php?category=viewed&page=$1&viewtype=detailed
RewriteRule ^detailed/discussed/(.*) video.php?category=discussed&page=$1&viewtype=detailed
RewriteRule ^detailed/favorites/(.*) video.php?category=favorites&page=$1&viewtype=detailed
RewriteRule ^detailed/rated/(.*) video.php?category=rated&page=$1&viewtype=detailed
RewriteRule ^detailed/featured/(.*) video.php?category=featured&page=$1&viewtype=detailed
RewriteRule ^detailed/random/(.*) video.php?category=random&page=$1&viewtype=detailed
RewriteRule ^recent/(.*) video.php?category=recent&page=$1
RewriteRule ^viewed/(.*) video.php?category=viewed&page=$1
RewriteRule ^discussed/(.*) video.php?category=discussed&page=$1
RewriteRule ^favorites/(.*) video.php?category=favorites&page=$1
RewriteRule ^rated/(.*) video.php?category=rated&page=$1
RewriteRule ^featured/(.*) video.php?category=featured&page=$1
RewriteRule ^random/(.*) video.php?category=random&page=$1
RewriteRule ^rss/new/ rss.php?type=new [L]
RewriteRule ^rss/comments/ rss.php?type=comments [L]
RewriteRule ^rss/views/ rss.php?type=views [L]
RewriteRule ^group/(.*)/members/(.*) group_members.php?urlkey=$1&page=$2
RewriteRule ^group/(.*)/videos/(.*) group_videos.php?urlkey=$1&page=$2
RewriteRule ^group/(.*)/add/(.*) add_video.php?urlkey=$1&page=$2
RewriteRule ^group/(.*)/fav/(.*) add_favour.php?urlkey=$1&page=$2
RewriteRule ^group/(.*)/topic/(.*) group_posts.php?urlkey=$1&tid=$2
RewriteRule ^group/(.*)/invite/ invite_members.php?urlkey=$1 [L,QSA]
RewriteRule ^group/(.*)/ groups_home.php?urlkey=$1 [L,QSA]
RewriteRule ^groups/(.*)/(.*)/(.*) groups.php?chid=$1&page=$3
RewriteRule ^groups/(.*)/(.*) groups.php?category=$1&page=$2
RewriteRule ^include/(.*) http://www.vshare.in
RewriteRule ^pages/(.*).html$ show_page.php?name=$1 [QSA,L]
RewriteRule ^([^/\.]+)/favorites/(.*) user_favorites.php?username=$1&page=$2
RewriteRule ^([^/\.]+)/playlist/(.*) playlist.php?username=$1&page=$2
RewriteRule ^([^/\.]+)/friends/(.*) user_friends.php?username=$1&page=$2
RewriteRule ^([^/\.]+)/public/(.*)$ user_videos.php?username=$1&type=public&page=$2
RewriteRule ^([^/\.]+)/private/(.*)$ user_videos.php?username=$1&type=private&page=$2 [L,QSA]
RewriteRule ^([^/\.]+)/groups/(.*)$ user_groups.php?username=$1&page=$2 [L,QSA]
RewriteRule ^([^/\.]+)?/?$ user.php?username=$1 [L,QSA]
<IfModule mod_security.c>
SecFilterEngine Off
In the meantime, the nameservers for the new host have resolved and they transfered everything from cirtex to their server and I'm getting nothing but 500 Internal server errors on all vshare sites or mysql errors on my ecommerce sites. I'm in touch with tech support.... I hope they get it working by tonight or I'm asking for a refund and going back to cirtex.
Bookmarks