DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 26th October 2015
tab tab is offline
Port Guard
 
Join Date: Oct 2015
Posts: 15
Default httpd web server not read my files

Hi,
I am trying to have a little web server onto OpenBSD 5.7, running on VMware.
I followed this tutorial but I noticed that it is very old! From 5.6 version, in fact, there is a new httpd server as I understand it.
One of the issues I am having is to install mysql-server: this packet does not seems to exists!
After, I configured /var/www/conf/http.conf in this way:
Quote:
#DirectoryIndex index.php index.html
ext_addr="*"

server "default" {
listen on $ext_addr port 80
root "/htdocs"
}
but it does not properly works.
If I type links MY_IP it prints It works instead of the content of index.html file I put in /var/www/htdocs.
Why?
Is there a tutorial to correctly install a web server?
Thanks.
Reply With Quote
 

Tags
httpd

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
mdoc(7) documentation/ tutorial J65nko News 0 29th August 2011 02:00 AM
Tutorial for installing Gnome 2.28.2 on OpenBSD 4.7 jcdenton OpenBSD Packages and Ports 7 26th April 2011 05:24 AM
openBSD webserver tutorial werwer OpenBSD Packages and Ports 2 29th May 2010 04:20 PM
good vi(1) tutorial ocicat General software and network 4 8th April 2010 04:12 AM
Java online tutorial 18Googol2 Programming 5 28th August 2008 03:07 AM


All times are GMT. The time now is 07:49 PM.


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