Results 1 to 7 of 7

Thread: [solved]error 404 on http://portalurl.com/user

  1. #1
    Join Date
    Apr 2007
    Posts
    137

    Default [solved]error 404 on http://portalurl.com/user

    Hi,
    i just found this error ,when i login i get redirect to http://www.glissemagtv.com/nocomp wich give a 404 error.
    any ideas?
    thx for help
    best regards

  2. #2
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    It seems you have not uploaded .htaccess file provided with the script.

    See

    http://forums.buyscripts.in/viewtopic.php?t=53

  3. #3
    Join Date
    Apr 2007
    Posts
    137

    Default

    hi tom,
    i ve uploaded the .htaccess
    see here: http://forums.buyscripts.in/viewtopic.php?t=11
    PostPosted: Sat Apr 28, 2007 10:13 pm Post subject: Reply with quote
    You can try adding following to end of .htaccess

    Code:
    php_value max_input_time 600
    php_value max_execution_time 600
    php_value post_max_size 200M
    Everything works expet that link,weird.
    best regards

  4. #4
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    Check if you don't missed any line in .htaccess

    Also check you PM.

  5. #5
    Join Date
    Apr 2007
    Posts
    137

    Default

    hi tom,
    this is my complete .htaccess:

    Options +FollowSymLinks
    RewriteEngine on

    RewriteRule ^admin$ - [L]
    RewriteRule ^admin/(.*) - [L]
    RewriteRule ^install$ - [L]
    RewriteRule ^install/(.*) - [L]
    RewriteRule ^$ index.php
    RewriteRule ^channel/(.*)?/?(.*)/ channel_detail.php?id=$1
    RewriteRule ^view/(.*)/(.*)/ view_video.php?id=$1 [L,QSA]
    RewriteRule ^tag/(.*)/(.*) tag.php?search_id=$1&page=$2 [L,QSA]
    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/(.*)/ groups_home.php?urlkey=$1
    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]
    php_value max_input_time 600
    php_value max_execution_time 600
    php_value post_max_size 50M

    as you can see there is a :
    #RewriteRule ^([^/\.]+)?/?$ user.php?username=$1 [L,QSA]
    That s from my host provider that had to do that cause of this line everytime i was creating a subdomain on the server i was getting a 404 error when tryin to http it.
    Any way to fix that bug that this line unfortunately creates to the whole server?anyway to limit it s function to the subdomain where it s uploaded?
    best regards
    herve

  6. #6
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    RewriteRule ^([^/\.]+)?/?$ user.php?username=$1 [L,QSA]

    This line is required. There is two solution for sub domain.

    1. Create sub domain as independent domain with its own cpanel account. Only possible if you have WHM access.

    2. add following line for each of the sub domain in the .htaccess

    RewriteRule ^subdomain$ - [L]
    RewriteRule ^subdomain/(.*) - [L]

  7. #7
    Join Date
    Apr 2007
    Posts
    137

    Default

    hi,
    well i have a third option atm, is to forget about the subdomain.
    The video portal scripts works fine,i want to keep it that way.
    I ve created a subdomain on another server,like that no worries.
    thx for your time tom.
    best regards

Similar Threads

  1. Google Webmaster Crawl Shows HTTP Error
    By west in forum General Discussions
    Replies: 2
    Last Post: 12-24-2008, 04:03 AM
  2. Solved Can not log into admin
    By alan081954 in forum Installation Support
    Replies: 1
    Last Post: 08-11-2008, 05:04 AM
  3. When will be solved youtube.com problem ?
    By ganimet in forum Bug Reports
    Replies: 0
    Last Post: 08-04-2008, 08:37 PM
  4. when i upload video HTTP 500 Internal Server Error , , ,
    By as7apak in forum Installation Support
    Replies: 2
    Last Post: 06-10-2008, 05:18 AM
  5. channel dir [SOLVED]
    By kadjor in forum Installation Support
    Replies: 3
    Last Post: 07-25-2007, 01:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •