DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th August 2016
psypro psypro is offline
Package Pilot
 
Join Date: Mar 2016
Location: Continent:Europe
Posts: 156
Default 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" }

        }
}
Reply With Quote
  #2   (View Single Post)  
Old 9th August 2016
psypro psypro is offline
Package Pilot
 
Join Date: Mar 2016
Location: Continent:Europe
Posts: 156
Default

Followd guide at :
http://www.h-i-r.net/p/setting-up-op...sed-httpd.html
Now my Wordpress works.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 02:00 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick