Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2011-11-22 08:00:09

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

[HOWTO] Configure Lighttpd for mod_rewrite for Adult Script Pro

Hi,

Just a short howto about Lighttpd and mod_rewrite. If you want to run Adult Script Pro under Lighttpd (not only for streaming) you will need to enable the mod_rewrite module and then add the following rewrite rules for your domain:

    url.rewrite-once = (
        "^/admin/\?(.*)$" => "/admin/index.php?$1",
        "^/([^.?]*)\?(.*)$" => "/index.php?q=$1&$2",
        "^/([^.?]*)$" => "/index.php?q=$1"
    )

NOTE: While this makes the frontend URLs work, the administrator panel URL needs to be accessed ALWAYS with http://www.domain.com/admin/index.php


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#2 2011-11-22 16:52:05

Eri
Member
Registered: 2011-03-18
Posts: 977

Re: [HOWTO] Configure Lighttpd for mod_rewrite for Adult Script Pro

ASPro is faster with Lighttpd than apache?


Best Adult Affilitate Network:
ExoClick
Best Deals on Dedicated Servers - CDN
INXY

Offline

#3 2011-11-23 09:28:18

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [HOWTO] Configure Lighttpd for mod_rewrite for Adult Script Pro

Generally lighttpd is faster than apache and nginx is faster than both (i didnt have time to play with nginx yet, but there a tons of documents and test on the internet that prove this). You can also see a comparation of the three web servers: http://wiki.dreamhost.com/Web_Server_Pe … Comparison

I personally run my sites on lighttpd, but i dont have your traffic, so i cant really tell.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB