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
17 hours 31 min ago
19 hours 9 sec ago
22 hours 34 min ago
1 day 1 hour ago
1 day 4 hours ago
1 day 5 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 7 hours ago
1 day 7 hours ago