Re: [users@httpd] Apache 2.4 with event, PHP 8.0 fpm on FreeBSD 13, pool keeps dying

2022-07-17 Thread David Mehler
there www pool definition file 4. php.ini I'd like to compare your files with what I've got, see if I'm seeing anything up Thanks. Dave. On 7/15/22, David Mehler wrote: > Hello, > > The php-fpm has a user and group of www and the document root is owned > and viewable

Re: [users@httpd] Apache 2.4 with event, PHP 8.0 fpm on FreeBSD 13, pool keeps dying

2022-07-15 Thread David Mehler
gt; > +91 73500 12833 > deic...@gmail.com > > Facebook: https://www.facebook.com/deicool > LinkedIn: www.linkedin.com/in/deicool > > "Plant a Tree, Go Green" > > Make In India : http://www.makeinindia.com/home > > > On Fri, Jul 15, 2022 at 4:20 PM David

Re: [users@httpd] Apache 2.4 with event, PHP 8.0 fpm on FreeBSD 13, pool keeps dying

2022-07-15 Thread David Mehler
; > > +91 73500 12833 > deic...@gmail.com > > Facebook: https://www.facebook.com/deicool > LinkedIn: www.linkedin.com/in/deicool > > "Plant a Tree, Go Green" > > Make In India : http://www.makeinindia.com/home > > > On Fri, Jul 15, 2022 at 10:34 AM David M

[users@httpd] Apache 2.4 with event, PHP 8.0 fpm on FreeBSD 13, pool keeps dying

2022-07-14 Thread David Mehler
Hello, I'm trying to run Apache 2.4 with event mpm, PHP 8.0 fpm on a FreeBSD 13 system. To test I've got a PHP info file but when I atempt to load it I'm getting a 5xx file not found message. Checking the PHP fpm and other logs it looks like my pool is dying and restarting very quickly. My configu

[users@httpd] Apache 2.4, Http 2, mod_fcgi, Perl, Python, Asp and a tls cipher query

2022-07-02 Thread David Mehler
Hello, I've got an Apache 2.4 server running Http 2. It's running PHP 7 fpm with Event. Previously my configuration for getting Perl, Python, and Asp scripts to work was: # Support perl scripts ScriptAlias "/perlweb/" "/usr/vhosts/domain.com/perlweb/" AddHandler perl-script .pl AddHa

Re: [users@httpd] Apache virtual hosts listening on specific IPv6 addresses

2020-06-30 Thread David Mehler
Hello, Thanks, actually turned out to be a firewall issue. Thanks a lot. Dave. On 6/28/20, Antony Stone wrote: > On Sunday 28 June 2020 at 17:44:48, David Mehler wrote: > >> Hello, >> >> Yes netstat does show that the sockets are listening on the correct >> add

Re: [users@httpd] Apache virtual hosts listening on specific IPv6 addresses

2020-06-28 Thread David Mehler
Hello, Yes netstat does show that the sockets are listening on the correct addresses. As for wireshark/tshark can you give me a quick howto to get you the answer to your question? I've never used it. Thanks. Dave. On 6/28/20, Antony Stone wrote: > On Sunday 28 June 2020 at 17:17:2

Re: [users@httpd] Apache virtual hosts listening on specific IPv6 addresses

2020-06-28 Thread David Mehler
errors on virtual host(s) configuration ? > > Angel Hall-Coulston > Scotland > >> On 28 Jun 2020, at 02:19, David Mehler wrote: >> >> Hello, >> >> Thanks. This is in my global ssl configuration: >> >> Listen xxx.xxx.xxx.xxx:443 https >> Listen [i

Re: [users@httpd] Apache virtual hosts listening on specific IPv6 addresses

2020-06-27 Thread David Mehler
yntax errors, but checking site availability via ipv6 check reveals site is unreachable. I'm trying to rule out Apache error. Is the above correct? Thanks. Dave. On 6/27/20, Richard wrote: > > >> Date: Saturday, June 27, 2020 20:06:30 -0400 >> From: David Mehler >> &

[users@httpd] Apache virtual hosts listening on specific IPv6 addresses

2020-06-27 Thread David Mehler
Hello, I'm wanting to set up Apache 2.4 virtual hosts to listen to specific IPv6 addresses. I see a Listen directive in my http configuration, but nothing for each virtual host. I've got several different virtual hosts each I want to listen on it's own specific IPv6 address. In the virtual host co

[users@httpd] mod_compat_access format forward

2020-04-05 Thread David Mehler
Hello, I've got this stanza in one of my virtual host configurations on apache 2.4.x. It's requiring me to load the access compatibility module, it is the only block requiring this module and i'd like to get it converted to apache 2.4. I've not been able to get the access correct, and would apprec

[users@httpd] Re: apache, git, smart http, pushing over https gives error 22

2020-03-19 Thread David Mehler
as /gitweb "/usr/local/www/gitweb" DirectoryIndex gitweb.cgi Options ExecCGI SSLRequireSSL AuthType Basic AuthName "Private Gitweb Access" AuthUserFile "/usr/local/etc/apache24/git-auth-file" Require valid-user SetHandler cgi-script SetEnv GITWEB_CONF

[users@httpd] Re: apache, git, smart http, pushing over https gives error 22

2020-03-18 Thread David Mehler
in my configuration is this issue, I believe it's in apache? Thanks. Dave. On 3/17/20, David Mehler wrote: > Hello, > > I've got git running on apache 2.4 and am using smart http with the > http-backend cgi script. From an external source I can clone the repo: > > git clone

[users@httpd] apache, git, smart http, pushing over https gives error 22

2020-03-17 Thread David Mehler
Hello, I've got git running on apache 2.4 and am using smart http with the http-backend cgi script. From an external source I can clone the repo: git clone https://git.host.com/repoName.git this works fine. I can clone it locally. I can add changes to this repo but when pushing back to origin ma

Re: [users@httpd] git push to apache produces return code 22

2019-11-09 Thread David Mehler
I am getting the same error. If you've got a working git/gitweb configuration can I get a look at it? I'd like to compare your working setup to my non-working one. Thanks. Dave. On 11/8/19, Konstantin Kolinko wrote: > пт, 8 нояб. 2019 г. в 21:16, David Mehler : > >> 'm t

[users@httpd] git push to apache produces return code 22

2019-11-08 Thread David Mehler
Hello, I'm trying to run git on FreeBSD with Apache 2.4 as the web server. My issue is I can pull/clone from the repo via remote: git clone https://git.example.com/myrepo.git This works fine. The issue comes when I atempt to push changes: git commit -m "commit message" git push origin master T

Re: [users@httpd] issues downloading zip files

2019-11-02 Thread David Mehler
us and write back with any new information/questions. Thanks. Dave. On 11/2/19, Antony Stone wrote: > On Saturday 02 November 2019 at 22:13:17, David Mehler wrote: > >> Hello, >> >> I'm throwing this out there hoping someone can help me. I've got a >> friend w

[users@httpd] issues downloading zip files

2019-11-02 Thread David Mehler
Hello, I'm throwing this out there hoping someone can help me. I've got a friend who has some zip files he periodically puts on his server to download, monthly. Last month and this month some users including myself had issues downloading them. For me the problem came at approximately 64% of the fi

[users@httpd] Question on headers, global or individual virtual host, apache 2.4?

2019-08-06 Thread David Mehler
Hello, I'm running apache 2.4. I've got a question on headers, should the below be set in a global context in a configuration file? Or should they be in set in each virtual host context and wrapped in IfModule statements? Also, are these headers correct? Header unset ETag Fil

[users@httpd] any users of mod_pagespeed?

2019-07-18 Thread David Mehler
Hello, Do we have any users of mod_pagespeed with apache 2.4.x on a FreeBSD system? I'm having no luck compiling it via system ports as one of it's dependencies or one of it's dependencies dependencies requires opencv which is failing to stage properly. I am therefor stuck. Any ideas? Thanks. Da

[users@httpd] apache 2.4 pfs and cipher configuration

2018-07-30 Thread David Mehler
Hello, I'm upgrading my apache configuration. If anyone who is a server security admin could take a look at this configuration, I need to know if the ciphers chosen are all pfs, have the strongest settings? SSLInsecureRenegotiation Off SSLSessionTickets Off SSLOpenSSLConfCmd DHParameters "/usr/lo

[users@httpd] sanity check

2018-05-06 Thread David Mehler
Hello, Can someone look at this file snipet and give me a sanity check on it? This is for Apache 2.4, and I'm thinking something might be not right with it. It looks like I've got some similar, near similar, and duplicate lines, will this impact performance? Thanks. Dave. Header unset ETag File

[users@httpd] apache 2.4 email autoconfig and autodiscover configuration

2018-04-19 Thread David Mehler
Hello, If anyone is using email autoconfig and/or email autodiscover with apache 2.4 can you let me know? I'm trying to get it working, and the xml files from what i'm researching on the net, look good. I'd like to know your apache configuration? Thanks. Dave. ---

Re: [users@httpd] apache, git, and gitweb

2018-04-07 Thread David Mehler
cess" AuthUserFile "/usr/local/etc/git-auth-file" Require valid-user SetHandler cgi-script SetEnv GITWEB_CONFIG /usr/local/etc/gitweb.conf Thanks. Dave. On 4/7/18, Gary Aitken wrote: > On 04/07/18 00:36, David Mehler wrote: > >> Does anyone have an apache 2.4

[users@httpd] apache, git, and gitweb

2018-04-06 Thread David Mehler
Hello, Does anyone have an apache 2.4 with git/gitweb setup going? I'm wondering if it is possible to have I guess it would be like a double url: https://git.domain.com/git/repos/myrepo.git and that /git is an apache ScriptAlias for git-httpd-backend (can I still have this functionality but drop

Re: [users@httpd] awstats removing script path and authentication check

2018-04-03 Thread David Mehler
On 4/3/18, Eric Covener wrote: > On Tue, Apr 3, 2018 at 9:32 AM, David Mehler wrote: >> Hello, >> >> I've got two questions both about running awstats in a multiple domain >> setup on apache 2.4. >> >> I've got the below block

[users@httpd] awstats removing script path and authentication check

2018-04-03 Thread David Mehler
Hello, I've got two questions both about running awstats in a multiple domain setup on apache 2.4. I've got the below block in each of my ssl-enabled virtual hosts that use awstats. Everything is working. First of all can I get a confirmation that my authentication and authorization settings are

Re: [users@httpd] apache 2.4 and automx configuration

2018-03-30 Thread David Mehler
gibberish inside the > ifmodule section and running apachectl -t) > > On Fri, Mar 30, 2018 at 5:06 PM, David Mehler > wrote: >> Hi, >> >> Has anyone checked out my last message? I was wondering if anything >> stood out with this config? >> >> Tha

[users@httpd] processing cgi scripts

2018-03-30 Thread David Mehler
Hello, Confusion, I am running Apache 2.4 and am being asked to process cgi scripts in various languages. I've got two directories made outside the document root called language1 and language2, so the document root is: /usr/vhosts/example.com/htdocs the language directories are: /usr/vhosts/exam

Re: [users@httpd] apache 2.4 and automx configuration

2018-03-30 Thread David Mehler
Hi, Has anyone checked out my last message? I was wondering if anything stood out with this config? Thanks. Dave. On 3/30/18, David Mehler wrote: > Hello, > > Sorry been going between three projects and must have been hitting the > enter key to fast. Here's the configur

Re: [users@httpd] apache 2.4 and automx configuration

2018-03-30 Thread David Mehler
Hello, Sorry been going between three projects and must have been hitting the enter key to fast. Here's the configuration. Thanks. Dave. #cat provisioning.example.com.conf # The autoconfig.example.com and autodiscover.example.com http virtual host ServerName autoconfig.example.com #Serv

[users@httpd] apache 2.4 and automx configuration

2018-03-30 Thread David Mehler
Hello, I'm trying to troubleshoot an automx error that it's giving me a 403 message, I'm using FreeBSD 11.1, and apache 2.4, and of course automx. It's looking not like an automx-specific issue, but an apache-specific issue. Can anyone spot any obvious errors with the below apache configuration?

Re: [users@httpd] http2

2018-03-29 Thread David Mehler
x27;m definitely seeing and getting reports, of a huge notice in performance gain. Thanks. Dave. On 3/29/18, David Mehler wrote: > Hi, > > Still getting the error "the requested url / was not found on this > server" when attempting to go to a virtual host like test.example

Re: [users@httpd] http2

2018-03-29 Thread David Mehler
Hi, Still getting the error "the requested url / was not found on this server" when attempting to go to a virtual host like test.example.com which gives me a 404 error. If I goto test.example.com/filename.php works fine. Any ideas? Thanks. Dave. On 3/28/18, David Mehler wrot

Re: [users@httpd] http2

2018-03-28 Thread David Mehler
t. See http://wiki.apache.org/httpd/php > > The simplest approach will likely to use mod_proxy_fcgi and php-fpm pools. > > On Wed, Mar 28, 2018 at 12:17 PM, David Mehler > wrote: > >> Hello, >> >> Currently I'm running Apache 2.4, openssl, Php 5.6, mo

[users@httpd] http2

2018-03-28 Thread David Mehler
Hello, Currently I'm running Apache 2.4, openssl, Php 5.6, mod_php, and with apache the prefork mpm. my mpm from prefork to either worker or event. What is the difference between these two mpms? It appears i'm also going to have to make a php change, threaded php, should I move to php7, does that

Re: [users@httpd] TLS 1.3

2018-03-28 Thread David Mehler
Hi, I didn't know TLS 1.3 was out, thought it was next year before we'd see it. What are some advantages of 1.3? Thanks. Dave. On 3/28/18, Stefan Eissing wrote: > Glad you asked: I just committed r1827912 into trunk that adds support for > TLSv1.3 when linking against OpenSSL v.1.1.1-pre3. Thi

[users@httpd] automx, mysql, apache, freebsd

2018-03-26 Thread David Mehler
Hello, Has anyone got automx going with a virtual mail setup I'm running FreeBSD with Postfix/MySQL/Dovecot, but Linux would work as well, and apache 2.4 which currently is the problem. I'm trying to run automx-test u...@example.com and am getting an error 404 from apache, it can't find an xml f

Re: [users@httpd] apache 2.4 and mod_perl2

2018-02-28 Thread David Mehler
Hello, Yes I did. I am still getting the error now about the invalid PerlModule line I just added. Thanks. Dave. On 2/28/18, mlrx wrote: > Le 27/02/2018 à 16:37, David Mehler a écrit : >> Hello, >> >> I'm trying to get apache 2.4 and mod_perl2 in my case 2.0.10

[users@httpd] apache 2.4 and mod_perl2

2018-02-27 Thread David Mehler
Hello, I'm trying to get apache 2.4 and mod_perl2 in my case 2.0.10 going on a FreeBSD 11.1 system. I've got this in a virtual host section: # # mod perl per-directory configuration # # Required modules: dir_module, perl_module DirectoryIndex index.pl Alias

Re: [users@httpd] SSL cipher suites

2018-02-18 Thread David Mehler
Hi, Thanks. Are these ciphers pfs friendly? Thanks. Dave. On 2/18/18, Michael A. Peters wrote: > On 02/18/2018 09:00 AM, David Mehler wrote: >> Hello, >> >> I'm looking for recommendations. I'm running apache 2.4 and Openssl >> 1.0.2n. I'm looking f

[users@httpd] SSL cipher suites

2018-02-18 Thread David Mehler
Hello, I'm looking for recommendations. I'm running apache 2.4 and Openssl 1.0.2n. I'm looking for the strongest certificates that support TLSV1.2 and PFS. Recommendations/pro/conns welcome. Thanks. Dave. # SSL cipher suite 1 SSLCipherSuite ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA

[users@httpd] rewrite not working, still going https

2018-02-17 Thread David Mehler
Hello, I'm trying to get apache 2.4 not to rewrite urls with .well-known/acme-challenge in them. I do not want these urls redirected to https but all other urls to do so. Everytime I think I've got this renewing a letsencrypt certificate fails. If anyone sees a glaringly obvious error i'd appreci

Re: [users@httpd] apache 2.4 and python

2018-02-12 Thread David Mehler
iable to serve our small app application = wsgi_app On 2/12/18, Frank Gingras wrote: > We're going to need a tad more information to help you. Error log entries > (on 2.4, you might need to bump the log level for 404 errors), and the > relevant vhost configuration. > > apac

Re: [users@httpd] apache 2.4 and python

2018-02-12 Thread David Mehler
st release of mod_python is over > three years old. > > On Sun, Feb 11, 2018 at 2:41 PM, David Mehler > wrote: > >> Hello, >> >> I'm trying to get mod python 3.5 working with apache 2.4. I keep >> getting an error on the PythonHandler line. I've got python

[users@httpd] apache 2.4 and python

2018-02-11 Thread David Mehler
Hello, I'm trying to get mod python 3.5 working with apache 2.4. I keep getting an error on the PythonHandler line. I've got python 3.5 installed, and mod_python 3.5 with apache 2.4, they are not talking to each other. Any ideas? Thanks. Dave. ---

[users@httpd] apache 2.4, git smart http, and gitweb configuration

2018-02-01 Thread David Mehler
Hello, I'm trying to host a git repository via smart http on apache 2.4. I'm also trying to make it viewable using gitweb. The goal is for all transactions to happen over https so I've got a letsencrypt certificate. Both reading and writing to the repo on the server should prompt for a password. I

[users@httpd] virtual host gives unexpected network read error

2018-01-29 Thread David Mehler
Hello, Can someone take a look at the below virtual host configuration? Whenever I put it in my apache 2.4 the server returns an alert unexpected network read error connection aborted message. If I take it out the server behaves normally. Of course nothing is in any of the logs I've got LogLevel s

[users@httpd] difference in alias lines?

2018-01-20 Thread David Mehler
Hello, What is the difference between the two below alias lines? Alias /.well-known/acme-challenge/ /usr/local/www/.well-known/ Alias /.well-known/acme-challenge "/usr/local/www/.well-known/" Thanks. Dave. - To unsubscribe

[users@httpd] disk cache block on a vps?

2018-01-18 Thread David Mehler
Hello, I've got an apache 2.4 system running on a vps. Is the below block needed? Currently it is set in all virtual hosts, if it is needed can it be set globally? If options are not needed let me know. This is a system I inherited. Thanks. Dave. # Disc cache setup CacheQuickHandler off

[users@httpd] issue with apache and virtual hosts and acme-client letsencrypt certificates

2017-10-01 Thread David Mehler
Hello, I'm running a FreeBSD system that I'm running apache on and using that to validate and put in to place letsencrypt certificates for several domains. I thought I had auto-updating working, turns out I didn't, but also I've got a configuration problem with apache that is preventing certifica

Re: [users@httpd] virtual host double slash effect, need solution

2017-07-16 Thread David Mehler
is no simpler option for the sake of simplicity. > > The rule of thumb is to go for simpler configuration directives > whenever possible, and a simple redirection like that in virtualhost > is a task perfect for Redirect. > > 2017-07-16 19:14 GMT+02:00 David Mehler : >> Hello

Re: [users@httpd] virtual host double slash effect, need solution

2017-07-16 Thread David Mehler
Toscano : >> Hi David, >> >> 2017-07-15 3:11 GMT+02:00 David Mehler : >>> >>> Hello, >>> >>> I'm running Apache 2.4 on a FreeBSD 10.3 system, with several virtual >>> hosts. My goal is to have all of them completely ssl, excep

[users@httpd] virtual host double slash effect, need solution

2017-07-14 Thread David Mehler
Hello, I'm running Apache 2.4 on a FreeBSD 10.3 system, with several virtual hosts. My goal is to have all of them completely ssl, except for the .well-known area needed for letsencrypt. I'm getting a double slash effect, for example example.com// and similar for other virtual hosts. I've googl

[users@httpd] disk cache setup

2017-07-13 Thread David Mehler
Hello, Wondering about disk cache setup? Should I have lines like this in my main httpd.conf as an include or in each individual virtual host? # Disc cache setup CacheQuickHandler off CacheLock on CacheLockPath /tmp/mod_cache-lock CacheLockMaxAge 5 CacheIgnoreHeaders Set-Cooki

[users@httpd] redirect vs. rewrite

2017-06-26 Thread David Mehler
Hello, I'm using apache 2.4. What is the difference between these lines? Redirect permanent / http://www.domain.com RewriteRule ^/?(.*) http://www.domain.com/$1 [R,L] They both redirect. Thanks. Dave. - To unsubscribe, e-ma

[users@httpd] Apache 2.4 and letsencrypt challenge setup issue?

2017-06-20 Thread David Mehler
Hello, I'm trying to get letsencrypt certificates working with security/acme-client on FreeBSD 10.3, which I like much better than the python certbot client. That being said I'm having a problem where authentication is failing, account keys are created, and from the output below it looks like the

[users@httpd] New 2.4 configuration, need sanity and security check

2017-06-16 Thread David Mehler
Hello, I'm doing a config rewrite. I'm using apache 2.4. If someone who does security could give my setup a check from a security perspective i'd appreciate it. I'm also wondering in particular about my cache setup and virtual hosts. There's a lot of repeated lines. Config at the end of this mes

Re: [users@httpd] Apache 2.4 with Mysql authentication

2017-05-02 Thread David Mehler
Hello, I'm running 2.4. Not seeing an error, in fact I just fixed one. What i'm wanting to know is does everything look good? I'm not as up on the 2.4 way of doing this as I was with 2.2. Thanks. Dave. On 5/2/17, Luca Toscano wrote: > Hi David, > > 2017-05-01 23:3

[users@httpd] Apache 2.4 with Mysql authentication

2017-05-01 Thread David Mehler
Hello, I've got a Mysql database set up for user authentication, with fields username, password, group, and active. I've got a group testgroup that i've put users in. I'm wanting to authorize users as follows: any users in the testgroup but who must also be a valid-user. Can someone take a look a

Re: [users@httpd] Enabling Forward secrecy on SSL

2017-03-17 Thread David Mehler
Hello, Try this configuration. If anyone can take a look at this setup if I've missed something or need to get a protocol adjustment let me know. I get an A+ on ssllabs. Hth Dave. httpd-ssl.conf: SSLRandomSeed startup file:/dev/urandom 512 SSLRandomSeed connect file:/dev/urandom 512 # OCSP Stap

[users@httpd] nonconsistent proxy 503 or 502 errors with apache 2.4

2017-03-10 Thread David Mehler
Hello, I'm running a FreeBSD 10.3 server which has an Apache 2.4.25 system running on it. It's reverse proxying to two web servers example.com and example2.com hosted in two separate FreeBSD jails. I'm getting nonconsistent 502 and 503 errors when atempting to access the systems from the outside.

Re: [users@httpd] Allowing users to edit web sites safely

2016-12-22 Thread David Mehler
/~user" . This was done to > allow the user to preview his site prior to activating the virtual host. > The php_admin_value entries in the vhost helps to protect the rest of > the server from the users site and having his own user account also > isolates him. > > Dave C. >

Re: [users@httpd] Allowing users to edit web sites safely

2016-12-21 Thread David Mehler
ite from his home public_html directory. I allow only ssh/scp > access, no FTP server is set up, so he uses Filezilla to upload . > > Regards, > Dave. > > On 20/12/16 05:43 PM, David Mehler wrote: >> Hello, >> >> I've got a FreeBSD 10.3 server on which is r

Re: [users@httpd] Allowing users to edit web sites safely

2016-12-20 Thread David Mehler
y server. It has support for Edit the files online and > it's fairly easy to configure and use. > > Thanks, >Dean E. Weimer >http://www.dweimer.net > >> On Dec 20, 2016, at 4:43 PM, David Mehler wrote: >> >> Hello, >> >> I've got a Fre

[users@httpd] Allowing users to edit web sites safely

2016-12-20 Thread David Mehler
Hello, I've got a FreeBSD 10.3 server on which is running Apache 2.4. I've got two web sites that are relevant to this message and which both get backed up on an other daily basis. A user wants now to take control of both. I don't use a control panel so he'll have to make files then upload. I've

[users@httpd] Using the most secure SSL cipher suites

2015-10-18 Thread David Mehler
Hello, I'm configuring a new apache 2.4 system which will have a webmail app running on it. I'm wanting to use only the most current/secure ssl ciphers and ones that offer perfect forward secrecy. I'm using FreeBSD 10.1 and my openssl version is 1.0.1l. In the virtual host configuration that will

Re: [users@httpd] Redirecting virtual host to https in Apache 2.4

2014-02-18 Thread David Mehler
ss_log" common RewriteEngine on RewriteCond%{HTTPS} !=on RewriteRule (.*) https://%{HTTP_HOST} Thanks. Dave. On 2/18/14, Eric Covener wrote: > On Tue, Feb 18, 2014 at 4:27 PM, David Mehler > wrote: >> >

[users@httpd] Redirecting virtual host to https in Apache 2.4

2014-02-18 Thread David Mehler
Hello, I'm running Apache 2.4 on an FC20 box. It's running several name based virtual hosts. I've set up one name based virtual host on port 443 I'll call it webmail.example.com. When a user goes to https://webmail.example.com the connection encrypts, the page is displayed. Here's the original ve

Re: [users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-19 Thread David Mehler
Hello, Thanks to everyone who helped. I have it working. Here it is for anyone this might help. Hth Dave. Set up for Mysql authentication: Create a mysql database: create database web; grant select, insert, update, delete on web.* to web_user@localhost identified by 'xxx'; flush privileges; use

Re: [users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-19 Thread David Mehler
Hello, When I inserted the user in to the mysql database I have a field called password it's a varchar(64) field. For the password value I used mysql's sha function so the entry looked like: sha('password') won the insert line. I'm not sure if that answers your question. Thanks. Dave. On 11/

Re: [users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-18 Thread David Mehler
eed myodbc installed at all? If it helps my database server is on localhost. Thanks. Dave. On 11/18/12, David Mehler wrote: > Hello, > > Do you have this working? If so can I get a look at your config? > > Thanks. > Dave. > > > On 11/18/12, Igor Galić wrote: >> &

Re: [users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-18 Thread David Mehler
Hello, Do you have this working? If so can I get a look at your config? Thanks. Dave. On 11/18/12, Igor Galić wrote: > > > - Original Message - >> Hello, >> >> I'm wanting to set up Apache 2.2 to authenticate using either basic >> or >> digest authentication whichever I decide to do, a

[users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-17 Thread David Mehler
Hello, I'm wanting to set up Apache 2.2 to authenticate using either basic or digest authentication whichever I decide to do, against a Mysql Database. I am running Apache 2.2 and mysql 5.52. Ive set up authentication using textfiles in the past now I am wanting to utilize a database. I've been g

[users@httpd] using htaccess on all hosts to block addresses

2011-12-12 Thread David Mehler
Hello, I've got a list of host IP's i'd like to block. I want to do this with an .htaccess file and want it to effect all virtual hosts on my server. I've got the .htaccess file and am wondering where to place it. Can I put it in the ServerRoot area which is /srv/http I believe on my arch box or d

[users@httpd] rewrite question

2011-11-20 Thread David Mehler
Hello, I've got a rewrite question. I'm running webmail on webmail.example.com and I've got that secured by ssl. If I go to: https://webmail.example.com it works. But as a user if they go to either of: http://webmail.example.com or just: webmail.example.com without the protocol it doesn't. I

Re: [users@httpd] Streaming multimedia content

2011-09-10 Thread David Mehler
Hi, I've never embedded a player on a page, how would I pull this off? Thanks. Dave. On 9/10/11, Marcin 'Rambo' Roguski wrote: > On Sat, 10 Sep 2011 10:44:09 -0400 > David Mehler wrote: > >> Hi, >> >> I'm assuming the header is one that the

Re: [users@httpd] Streaming multimedia content

2011-09-10 Thread David Mehler
Hi, I'm assuming the header is one that the browser doesn't understand, audio/mpeg is my guess. Is this solvable? Thanks. Dave. On 9/10/11, Marcin 'Rambo' Roguski wrote: >> That url could be streaming mp3, ogg, or aac content. Instead of the >> browser in question streaming the content using i

[users@httpd] Streaming multimedia content

2011-09-10 Thread David Mehler
Hello, I've got an Apache 2.2.x server as well as an internal Icecast server. The icecast server is streaming out various multimedia content to internal clients, ogg, mp3, aac, files, and apache is serving a web page where selected content can be clicked on and streamed. A sample url looks like:

[users@httpd] apache 403 no error information provided

2011-06-10 Thread David Mehler
Hello, I've got an apache 2.2.x server running on CentOS. I've got the configuration below. When atempting to access my first virtual host things work fine, when atempting to access a subfolder I'm getting an error 403 forbidden. I'm also getting no log output. If anyone can spot my configuration e

Re: [users@httpd] error 404 document in php

2011-05-27 Thread David Mehler
Hello, Thank you for your replies. What i'm getting is the error 500 internal server error when I place the .htaccess file. I'm not seeing anything in the access log file except the reference to the 500 error. Running a php cli on the php file does not return any errors syntax or otherwise. I proba

[users@httpd] error 404 document in php

2011-05-25 Thread David Mehler
Hello, I'm wanting to make a custom error document for 404. I'm wanting it to look like the rest of my site and have some php information on the site. If in httpd.conf I use errordocument 404 and specify a file ending with .php no go. Does anyone have this working? Thanks. Dave. --

Re: [users@httpd] question maybe conceptual on virtual hosting

2011-05-13 Thread David Mehler
Hi, Thanks a lot. All my virtual host issues are now resolved. Thanks. Dave. On 5/13/11, Jeroen Geilman wrote: > On 05/14/2011 01:13 AM, David Mehler wrote: >> Hello, >> >> Thank you for your reply. From what your telling me the below is >> wrong. Is the only co

Re: [users@httpd] question maybe conceptual on virtual hosting

2011-05-13 Thread David Mehler
log common Order Deny,Allow Deny from all Options none AllowOverRide none Order Allow,Deny Allow from all Options none AllowOverRide none On 5/13/11, Jeroen Geilman wrote: > On 05/13/2011 06:50 AM, David Mehler wrote: >> Hello, >> I've got a question on virtual hos

[users@httpd] Setting secure permissions on web content

2011-05-13 Thread David Mehler
Hello, I've got an apache server and I'm loading in web content. I'm wanting to make several linux groups webdev for one and add users. That group should be able to write files, and have the group ownership set so the permissions are consistent. I'm also needing apache to be able to see these files

[users@httpd] question maybe conceptual on virtual hosting

2011-05-12 Thread David Mehler
Hello, I've got a question on virtual hosts. I'm running httpd 2.2.3 on a rhel5 machine. I believe from what I've read that when one sets up a virtual host that the Listen and other directives in httpd.conf are no longer valid. FIrst of all, did I get that right? I've got a Listen line in httpd.con