I am trying to remove the “index.php” part from my website.
I did not manage to find a solution that fits my setup: OpenBSD’s httpd, as this is a Apache implementation for OpenBSD, but it does not have the same syntax.
Also, even by changing the permalinks settings, a .htaccess file is not created, if I manually create it WordPress prompts me to update it manually.
I do not have “mod_rewrite” as it is not part of the httpd implementation OpenBSD uses, there are some rewrite functions, but I did not manage to configure the permalink properly.
If in WordPress admin panel I remove “index.php” from permalink structure I get a 404 error when visting a page.
Here is my httpd.conf file: https://hatebin.com/bwkffqvjaw
]]>Problem: White screen after attempt to login to admin site
Cause: The machine has moved around in the network and now uses a different nameserver.
Solution: I had to update /var/www/etc/resolv.conf to point to the correct nameserver.
How come? OpenBSD uses a chrooted Apache by default. This means that web applications can’t access the default /etc/resolv.conf to figure out what nameserver to connect to, so this file has to be copied to /var/www/etc/resolv.conf. I forgot to repeat this after the nameserver change.
Upon accessing the admin site, wordpress attempts to access several remote locations to look for updates, through a PHP fopen(<url>,..) command. When the contents of /var/www/etc/resolv.conf are out of date, this will hang on the name lookup (which I consider to be a bug by the way. It should time out within a reasonable period, within the maximum execution time of the script anyway). Consequence: white screen, no errors in log, no activity on server, nada, nothing!
The installation succeeded without errors. The admin pages are working (data is save to the database).
But the normal pages don’t show anything.
How can I troubleshoot this?
]]>I’m not seeing any RSS. No blogroll, no RSS on the admin dashboard page, RSS widget doesn’t work.
Is this common?
What are the simple things to check first with this sort of problem?
I have been struggling with this for a week now. No progress.
I have installed WP (2.2.2) on another OpenBSD 4.1 box with no problems. RSS is retrieved and shown properly.
I am running WP 2.2.2
on an OpenBSD 3.8 machine
running php v 4.4.0
and mysql v 4.0.24p1
]]>I have a strange prob… I’ve been hosting a private WP blog at home for some time on a Ubuntu box. Just recently I moved it over to OpenBSD, and the WYSIWYG editor is displaying differently (font is Times, background isn’t white, no padding, etc.). Fonts don’t work and the background is grey, although I can still paste in images etc. Here’s a screenshot of what it looks like now.
https://i5.tinypic.com/2801cmo.jpg
I’m wondering what could have caused this on the server side. Afaik the editor is all client side and shouldn’t require any server adjustments?
PS. Apache isn’t chrooted (default on OpenBSD)
Cheers
Brendan