![]() |
|
|
|
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Virtual Private Servers (VPS) Need help with your VPS plan on HostICan? Please feel free to ask and we'll give you the answers! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
hi
Hello Somebody uses vshare? (youtube-clone) I need help with finding all htacces filles and to modify them Until now I have found htaccess you case out in public_html , public_html/vshare-folder/ , public_html/vshare-folder/cgi-bin the 3 files now are called htaccess_old Problems - mysite.com, mysite.com/vshare-folder/ and all mysite/vshare-folder/all-files.php go wel, But not mysite.com/vshare-folder/folder-2/ and mysite.com/vshare-folder/folder-2/all-file Last edited by mario2000 : 04-26-2008 at 11:52 AM. |
|
|||
|
My htaccess files
In the public_html 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 RewriteEngine On # Turn off mod_security filtering. SecFilterEngine Off # The below probably isn't needed, # but better safe than sorry. SecFilterScanPOST Off In the public_html/vshare-folder/ - i have instaled the script in an folder php_value upload_max_filesize 100M php_value post_max_size 100M php_value output_buffering on php_value max_execution_time 6000000 php_value max_input_time 30000 php_value memory_limit 512M php_value session.gc_maxlifetime 144000 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=detaile d RewriteRule ^detailed/viewed/(.*) video.php?category=viewed&page=$1&viewtype=detaile d RewriteRule ^detailed/discussed/(.*) video.php?category=discussed&page=$1&viewtype=deta iled RewriteRule ^detailed/favorites/(.*) video.php?category=favorites&page=$1&viewtype=deta iled RewriteRule ^detailed/rated/(.*) video.php?category=rated&page=$1&viewtype=detailed RewriteRule ^detailed/featured/(.*) video.php?category=featured&page=$1&viewtype=detai led RewriteRule ^detailed/random/(.*) video.php?category=random&page=$1&viewtype=detaile d 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/(.*) YouTube Clone Script - Script to start video sharing community 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> In the public_html/vshare-folder/cig-bin 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=detaile d RewriteRule ^detailed/viewed/(.*) video.php?category=viewed&page=$1&viewtype=detaile d RewriteRule ^detailed/discussed/(.*) video.php?category=discussed&page=$1&viewtype=deta iled RewriteRule ^detailed/favorites/(.*) video.php?category=favorites&page=$1&viewtype=deta iled RewriteRule ^detailed/rated/(.*) video.php?category=rated&page=$1&viewtype=detailed RewriteRule ^detailed/featured/(.*) video.php?category=featured&page=$1&viewtype=detai led RewriteRule ^detailed/random/(.*) video.php?category=random&page=$1&viewtype=detaile d 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/(.*) YouTube Clone Script - Script to start video sharing community 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> My Site is www . x-myx.com X My X free XXX muvie and PORN tube. ( WARNING ADULT SITE ) |
|
||||
|
You can change your PHP from CGI to Module:
How to: Change PHP Modes and Versions When you can switch to module... it should work fine.
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
|
||||
|
I logged into your VPS and make the necessary changes from CGI style to module style for PHP for apache, and you make keep the .htaccess like it is, it should be fine now.
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
|
||||
|
Well, seems that this answer got resolved, this was the solution:
There are a couple of reasons why you would get this, the most comon is you have a few lines of code in your .htaccess file that are causing the issues. You can normally find them via the error_log. If not, you will need to check for lines such as (in the .htaccess): SecFilterScanPOST OffOptions All SecFilterEngine Off And make sure they are either commented out (like below) or deleted. #SecFilterScanPOST OffOptions All #SecFilterEngine Off
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
|
||||
|
Thanks for the followup post.
__________________
█ HostICan Discount - New customer? Save $50 on your HostICan hosting purchase! █ HostICan Hosting Reviews - See what other customers say about HostICan. █ Simple Hosting - Web Hosting Made Simple! |
|
||||
|
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|