#1
  1. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jun 2003
    Location
    Thessaloniki
    Posts
    1,280
    Rep Power
    13

    Question Switching from Apche to LiteSpeed


    Just today i changed from HostGator to EZPZ, which means from Apache Web Server to LiteSpeed.

    Does anyone know why iam seeing what iam seeing at http://superhost.gr and not the metrites.py script?

    i ahve this .htaccess file insdie

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www\.)?superhost\.gr$
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^/?(.+\.html) /cgi-bin/metrites.py?htmlpage=%{REQUEST_FILENAME} [L,PT,QSA]
    Thanks
    What is now proved was once only imagined!
  2. #2
  3. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jun 2003
    Location
    Thessaloniki
    Posts
    1,280
    Rep Power
    13
    I see wird encoding althouth on my python script i ahve:

    #!/usr/bin/python
    # -*- coding=utf-8 -*-
    What is now proved was once only imagined!
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    46
    Rep Power
    2
    And what is it what you see and what you actually wants to see?
  6. #4
  7. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jun 2003
    Location
    Thessaloniki
    Posts
    1,280
    Rep Power
    13
    the .htaccess i have displayed worked ok for Apche web server but it doesnt for LiteSpeed.

    Any idead why?
    What is now proved was once only imagined!
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    46
    Rep Power
    2
    Alas i dont know, but i would try to create new rewrite rule using "htaccess rewrite generator" (google) or trying to ask at Litespeed forums (http://www.litespeedtech.com/support/forum/) where you may expect more targeted reply
    Last edited by postcd; April 10th, 2013 at 03:40 PM.
    $0.5 Hosting on cPanel
    $4 VPS; $30 Dedi
    InstantcPanelHosting.com
  10. #6
  11. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jun 2003
    Location
    Thessaloniki
    Posts
    1,280
    Rep Power
    13
    Originally Posted by postcd
    Alas i dont know, but i would try to create new rewrite rule using "htaccess rewrite generator" (google) or trying to ask at Litespeed forums (http://www.litespeedtech.com/support/forum/) where you may expect more targeted reply
    thank you good thinking, you also have very good priced i noticed if i need to change from reseller to VPS ill come to you!
    What is now proved was once only imagined!
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2013
    Posts
    16
    Rep Power
    0
    In lite speed you should not use rewriten because litespeed server don't work like apache I am not saying it is not good it is more better then apache but is is less secure then apache.

    So go for speed or go for security. Choice is yours.
  14. #8
  15. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jun 2003
    Location
    Thessaloniki
    Posts
    1,280
    Rep Power
    13
    I still cant make up my mind as to whcih company i should pick, very tough choice!
    What is now proved was once only imagined!

IMN logo majestic logo threadwatch logo seochat tools logo