|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
cms for httpd
Case:
I want to host a small private webpage on a OpenBSD 6, using httpd and have a cms for easy editing. I have tried Reading manual for httpd, and httpd.conf Searching this forum. Searching google. I have tried installing wolfcms, bolt cms, an drupal cms. With wget and unzip to folder. All give me the front page, but gives 404 error for subpages. Drupal, goes trough several installation pages, and pass requirement check. But after successful setup, only shows frontpage, other pages gives 404. Googling indicated some had errors related to this on Apache, with mod_write and or .htacces. httpd.conf with fictive mydomain,com : Code:
ext_if="egress" types { include "/usr/share/misc/mime.types" } server "default" { listen on $ext_if port 80 directory {index "index.php" } location "/*.php" { root { "/htdocs/mydomain.com/public" } fastcgi socket "/run/php-fpm.sock" } location "/*" { root { "/htdocs/mydomain.com/public" } } } |
|
|||
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
nagios-web vs. new httpd | bceverly | OpenBSD Packages and Ports | 1 | 7th October 2015 02:29 AM |
Apache to Httpd | frcc | OpenBSD General | 2 | 7th September 2015 05:49 PM |
New httpd and PHP | morophla | OpenBSD Packages and Ports | 21 | 31st August 2015 09:54 PM |
httpd in OpenBSD 5.6 | jorisvh | OpenBSD Packages and Ports | 8 | 4th November 2014 12:14 AM |
httpd problem or something else | c0mrade | Other BSD and UNIX/UNIX-like | 6 | 15th January 2009 09:19 PM |