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-07-05 14:05:30

sebo1992
Member
Registered: 2011-07-04
Posts: 40

Issues with rewrite

Hey,

I just installed the AdultScriptPro script on my lighttpd webserver, but I ran into a problem.

I can't access any url like http://thepornstuff.com/recent/, I did install the mod_rewrite but I guess .htaccess is not working under lighttpd, so how can I resolve this problem?

Thanks,
Sebo

Offline

#2 2011-07-05 14:32:40

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

Re: Issues with rewrite

Here's is a example on how to configure lighttpd to run Adult Script Pro:

$HTTP["host"] =~ "www\.scriptdevel\.com$" {
    compress.cache-dir = "/srv/www/vhosts/scriptdevel.com/cache/"
    accesslog.filename   = "/var/log/lighttpd/scriptdevel.com-access.log"
    url.rewrite-once = (
        "^/admin/\?(.*)$" => "/admin/index.php?$1",
        "^/([^.?]*)\?(.*)$" => "/index.php?q=$1&$2",
        "^/([^.?]*)$" => "/index.php?q=$1"
    )

    $HTTP["url"] =~ "^/stream/" {
          secdownload.secret          = "abcdef"
          secdownload.document-root   = "/srv/www/vhosts/scriptdevel.com/site/media/videos"
          secdownload.uri-prefix      = "/stream/"
          secdownload.timeout         = 7200
    }
    
    auth.require = (
        "/media/videos/flv/" => (
            "method" => "digest",
            "realm" => "Authorized users only",
            "require" => "valid-user"
        )
    )    
}

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

Offline

#3 2011-07-05 15:06:37

sebo1992
Member
Registered: 2011-07-04
Posts: 40

Re: Issues with rewrite

Thanks!

I did create a few categories, but just one appears. I did also rebuilt them but that didn't help. Any suggestions?

Thanks,
Sebo

Offline

#4 2011-07-05 15:30:47

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Re: Issues with rewrite

Maybe the reason is a problem with your header - i see this twice

HOME  VIDEOS  PHOTOS   PORNSTARS  CATEGORIES  PREMIUM  COMMUNITY  FORUM

HOME  VIDEOS PHOTOS   PORNSTARS  CATEGORIES  PREMIUM  COMMUNITY  FORUM

Ben

Offline

#5 2011-07-05 15:36:54

sebo1992
Member
Registered: 2011-07-04
Posts: 40

Re: Issues with rewrite

Hmm, I resolved that by clearing the cache but any idea how I can remove that second header?

Offline

#6 2011-07-05 15:39:21

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

Re: Issues with rewrite

There is a bug in the submenu plugin. Please email me FTP access and i will fix. If you disable the cache it will work without the fix.


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

Offline

#7 2011-07-05 15:48:20

sebo1992
Member
Registered: 2011-07-04
Posts: 40

Re: Issues with rewrite

I just disabled the cache, it works fine now, thanks. I just faced another problem. There's no time for any video, example: http://thepornstuff.com/2/hina-aiuchi-p … turbation/

/Edit: There was the wrong yambi path in the config, I just fixed this.

Last edited by sebo1992 (2011-07-05 16:15:35)

Offline

Board footer

Powered by FluxBB