thttpd and wordpress: some modifications required
-
Hi everyone !
Just to post here (is this the right place?) some modifications I’ve made to wordpress 2.5 for making it working with my ISP’s HTTP server.My ISP (club Internet France: http://www.club.fr) uses thttpd for hosting the personal pages of the subscribers. However, thttpd does not support mod_rewrite like we have in Apache httpd. So the use of the permalinks cannot work. Worse, the URLs returned by the links functions are not including the index.php page in the URL. this makes the welcome page always being displayed, whatever you click on the page.
To make it work, I’ve done the following updates in two files:
– link_template.php
– category_template.phpWhen an URL was returned in various functions, the URL was of the form: [base address]/?[param]=1234
So I corrected it to be: [base address]/index.php?[param]=1234The site is seems to be correctly working, but I may have missed something.
Please note that this is not a 2.5 specific issue, since the same patches had to be done in the previous version I had. To be accurate, with this thttpd, the site upgrades correctly when doing the update from version 2.3 to 2.5.
More information about thttpd:
http://www.acme.com/software/thttpd/Hope this helps people like me, find below the line numbers where I’ve done the modifications.
cheers,
Hironico.
—————————->
link_template.php
——————-
– 117: permalinks
– 160: page links
– 191: attachments
– 206: year link
– 222: month link
– 242: day link
– 269: feeds link
– 291, 294 : comments feed link
– 330: author feed link
– 368: category link
– 398: tag feed link
– 422: search feed link
– 438: search comment feed linkcategory_template.php
———————-
– 31: category link
The topic ‘thttpd and wordpress: some modifications required’ is closed to new replies.