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
4 hours 58 min ago
5 hours 10 min ago
8 hours 53 min ago
8 hours 55 min ago
8 hours 58 min ago
10 hours 41 min ago
18 hours 23 min ago
18 hours 50 min ago
1 day 4 hours ago
1 day 5 hours ago