Add new comment
Want to support HowtoForge? Become 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 52 min ago
22 hours 42 min ago
1 day 3 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 6 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 13 hours ago
1 day 20 hours ago