emanuele45 / prettyurls

Automatically exported from code.google.com/p/prettyurls
Other
0 stars 0 forks source link

Support alternative httpds #39

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Can we support Lighttpd?

Original issue reported on code.google.com by curiousdannii on 12 Jun 2008 at 4:08

GoogleCodeExporter commented 8 years ago
We need lighttpd support..

Original comment by giann...@gmail.com on 15 Jun 2008 at 9:11

GoogleCodeExporter commented 8 years ago
Here are the lighttpd rewrites:

url.rewrite-once = (
$ngs|boardrecount|buddy|calendar|cleanperms|collapse|convertentities|convertutf8
|coppa|activate|admin|announce|arcade|managegames|arcadecategory|arcadesettings|
ban|highscore)/?(.*)$"
=> "index.php?pretty;action=$1;$2",
"^/([-_!~*'()$a-zA-Z0-9]+)/(\?([^?]*)){0,1}$" => "index.php?pretty;board=$1;$3",
"^/([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/(\?([^?]*)){0,1}$" =>
"index.php?pretty;board=$1;topic=$2;$3"
)

Original comment by chrischa...@gmail.com on 15 Jun 2008 at 11:26

GoogleCodeExporter commented 8 years ago
I think I'll probably do it the way Wordpress does, by acting as a 404 error 
handler.
This will mean you'll only need to make one change to lighttpd.conf and enabling
various filters won't require extra changes.

Original comment by curiousdannii on 16 Jun 2008 at 5:41

GoogleCodeExporter commented 8 years ago
are those rewrite rulles tested?
they work for boards but not for topic on my forum

Original comment by comzer...@chimeres.gr on 15 Oct 2008 at 4:37

GoogleCodeExporter commented 8 years ago
I haven't tested it... feel free to contact chrischatzaras for more info.

Original comment by curiousdannii on 17 Oct 2008 at 4:30

GoogleCodeExporter commented 8 years ago
IIS7 now comes has an official rewrite module, and apparently it's fairly 
common and
even some shared hosts have installed it.

Original comment by curiousdannii on 23 Apr 2009 at 11:02