Add new comment
Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
|
If the url contains port numbers like "http://howtoforge.com:80/index.html", lighttpd will lookup the database with the port number. To ignore this, use "SELECT docroot FROM domains WHERE domain= SUBSTRING_INDEX('?', ':', 1);" as sql statement. You also can add a new column into the database table with the port number to separate the docroots for different ports.
Greets, Sannny
Reply |





Recent comments
9 hours 54 min ago
15 hours 42 min ago
17 hours 34 min ago
19 hours 19 min ago
23 hours 9 min ago
1 day 4 hours ago
1 day 5 hours ago
1 day 9 hours ago
1 day 14 hours ago
1 day 20 hours ago