Here is the section in my rc.conf ##Secondary HTTP only server ##If you set HTTPDIR, I will startup another instance of mini_httpd to ##serve files from that directory. HTTPUSER is the user the server will ##run as. HTTPDIR="/tftpboot" HTTPUSER="nobody" HTTPCGI="no" # yes|no to enable CGI (just like for HTTPS)
##HTTPS Variables HTTPSDIR="/stat/var/www" # Define the location to serve HTTPS from HTTPSCGI="yes" # Whether to enable CGI in the above path HTTPSCERT="/etc/ssl/mini_httpd.pem" # Path to the https certificate HTTPSUSER="root" #user to run HTTPS under Yet reboot after reboot, the files are not being created. -----Original Message----- From: Kristian Kielhofner [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 22, 2006 3:17 PM To: Discussion of AstLinux - Asterisk on Compact Flash Subject: Re: [Astlinux-users] mini-httpd Tony Plack wrote: > I just reviewed the trunk files and believe there is a problem with > 4.2 and mini_httpd. This may have been covered before. > > I would post this on the bug area of sourceforge but not sure of the > procedures right now. > > The init.d script should create the /tmp/etc/mini_httpd.conf and > /tmp/etc/mini_httpd-http.conf files. I believe that there should be > some look to see if they exist on the keydisk but I did not > troubleshoot that part. > > What is happening on my system is that mini_httpd is not starting > because the file does not exist. > > In order to get it to run, you must run > /etc/init.d/mini_httpd init > to get the system running. > > The problem seems to be that either > A. we need to have a config in the /stat/etc directory and copy it to > /tmp/etc (which means modifying /etc/init.d/mini_httpd as well to > check for this file) B. we need to have init fire during > /etc/init.d/mini_httpd start > > > /etc/init.d/mini_httpd init is not documented in the script at this > time, not sure it should be but .... > > OR > Someone please set me straight > Tony, If you define HTTPDIR in rc.conf, the mini_httpd init script will create a mini_httpd-http.conf config file for you (when called with init - which is what happens during startup). When start is called, it checks for the presence of that file and then starts mini_httpd (HTTP only) mode. Are you defining HTTPDIR? -- Kristian Kielhofner _______________________________________________ Astlinux-users mailing list [email protected] http://lists.kriscompanies.com/mailman/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED] _______________________________________________ Astlinux-users mailing list [email protected] http://lists.kriscompanies.com/mailman/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
