Re: [users@httpd] SSL virtual Hosts

2017-06-09 Thread Yehuda Katz
Are any errors shown in the httpd logs? Is httpd actually reading the files you create in the conf.d directory? I sometimes check that by putting gibberish in the config file and then running `httpd -t` to test the configuration. What is the actual Include directive in httpd.conf that includes th

Re: [users@httpd] paypal/php apache2 integration problem

2017-06-09 Thread Yehuda Katz
You should probably ask this on a Codeigniter help list or forum. This does not appear to be an issue with Apache HTTPD. - Y On Fri, Jun 9, 2017 at 1:54 PM, Paul Claridge wrote: > Hi Team, I have been battling this for several weeks now and am completely > stumped, so I am hoping for some inspi

Re: [users@httpd] Does Apache need to delay startup until system time set?

2017-04-20 Thread Yehuda Katz
There are some parts of the HTTP conversation which could be affected by having the wrong time, but HTTPD itself doesn't care. For example, if you are using cookies, caching, those could be affected by the time change (even more specifically, for PHP sessions, when the clock changes, the PHP sessio

Re: [users@httpd] configured HTTP(80) on the standard HTTPS(443) port!

2017-04-04 Thread Yehuda Katz
The first warning is telling you that you are serving regular HTTP traffic on what is usually an HTTPS port. This is because you do not have any SSL configuration on the virtual host on port 443. You need "SSLEngine on" and certificate information at least. You can ignore the second warning about "

Re: [users@httpd] What is preferred PHP interface?

2017-03-29 Thread Yehuda Katz
The Apache wiki has a rundown of options: https://wiki.apache.org/httpd/php Plenty of people still use mod_php and it has been updated to work with HTTPD 2.4 and PHP 7. - Y On Wed, Mar 29, 2017 at 8:49 PM, John Iliffe wrote: > Reading several sources there is conflicting information as to what

RE: [users@httpd] Hiding Apache version info on the Aix server for Apache.

2017-03-16 Thread Yehuda Katz
I believe the only way to do that is to recompile HTTPD yourself. - Y Sent from a device with a very small keyboard and hyperactive autocorrect. On Mar 16, 2017 6:02 AM, "Chunduru, Krishnachaithanya" < krishnachaithanya.chund...@broadridge.com> wrote: > Hi Konstantin/All, > > I have now resolve

Re: [users@httpd] Hiding Apache version info on the Aix server for Apache.

2017-03-14 Thread Yehuda Katz
r. When the script is executed, it is giving > message like “starting Apache” later when we are checking the process is > not running. > > > > I can’t even find the /etc/conf-* dir in our Aix server. > > > > *Regards,* > > *Krishna* > > > > *From:* Yehud

Re: [users@httpd] Hiding Apache version info on the Aix server for Apache.

2017-03-14 Thread Yehuda Katz
/etc/conf-available/security.conf is part of the Debian/Ubuntu packaged layout of HTTPD, not standard. Do you get an error when you try to start up the server? - Y On Tue, Mar 14, 2017 at 9:08 AM, Chunduru, Krishnachaithanya < krishnachaithanya.chund...@broadridge.com> wrote: > Hi, > > > > I co

Re: [users@httpd] URG:DocumentRoot relate query on WIndows

2017-03-10 Thread Yehuda Katz
You can set the DocumentRoot to "C:/" (note the forward slash instead of the backslash). You can technically set it to just "/" also if you want the drive where HTTPD is located. When running HTTPD on Windows, it is good practice to use forward slashes even though backslashes work in some places.

Re: [users@httpd] Why ExpiresByType is ignored when has SetHandler application/x-httpd-php ?

2017-03-02 Thread Yehuda Katz
> *Subject:* Re: [users@httpd] Why ExpiresByType is ignored when has > SetHandler application/x-httpd-php ? > *Date:* trešdiena, 2016. gada 28. decembris 13:20:25 > *From:* Eric Covener > *To:* > > On Tue, Dec 27, 2016 at 10:29 PM, Yehuda Katz wrote: > > Why Ex

Re: [users@httpd] Question about make openssl files

2017-02-23 Thread Yehuda Katz
Hi Rodrigo, This mailing list is for Apache HTTPD. If you have questions about OpenSSL, you should try an OpenSSL mailing list (https://www.openssl.org/ community/mailinglists.html) or documentation (https://www.openssl.org/docs/ manpages.html). To point you in the right direction though: you prob

Re: [users@httpd] apache run status: how to tell as non-root user (on *nix)?

2017-02-21 Thread Yehuda Katz
That grep would not work on Debian-style packages because they show apache2 as the executable but it might be the best way on other systems. - Y Sent from a device with a very small keyboard and hyperactive autocorrect. On Feb 21, 2017 8:54 AM, "Tom Browder" wrote: > I need to programatically

Re: [users@httpd] Core code in apache

2017-02-20 Thread Yehuda Katz
How do you define the core vs. modules? If you look at the documentation (http://httpd.apache.org/docs/2.4/mod/), it describes what is included in the core and what is a module. There are the core, mpms and other modules. Also maybe the LAYOUT file will help you. - Y On Mon, Feb 20, 2017 at 6:48

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-07 Thread Yehuda Katz
x27;t getting redirected. I'm guessing that was added by cPanel. I need > to find away to redirect that now to port 443. I can't just add an entry > in the .htaccess file under /var/www/html because cPanel says those files > can get deleted at any time. > > Thank you

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-05 Thread Yehuda Katz
gt; But on Eugene (my local machine), and everyone elses machine, when I run: > curl www.jetbbs.com/.well-known/test.html, I see: > franklin.jetbbs.com test > > I still don't fully understand why I'm seeing different results based on > whether I run the command on the server r

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-05 Thread Yehuda Katz
; entry for hostname.domain.com, but nothing for www.domain.com. > > On Sun, Feb 5, 2017 at 7:38 PM, Yehuda Katz wrote: > >> This is a common enough setup that it is unlikely to be a bug and more >> likely to be a configuration error. >> >> cPanel creates VirtualHo

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-05 Thread Yehuda Katz
iles from the domain.com VirtualHost directory. > ServerAliases have been commented out. To my knowledge, this should not > happen. > > I can probably regenerate it. I've restarted the server and everything, > but I was thinking maybe this was some sort of bug and not a miscon

Re: [users@httpd] Help tracking down a weird error with Apache and local / remote connections.

2017-02-05 Thread Yehuda Katz
Did you check your DNS to make sure both systems are resolving to the same IP address? - Y On Thu, Jan 26, 2017 at 3:31 PM, Spork Schivago wrote: > I have a bit of a weird problem that I'd like some help tracking down. > I'm pretty sure it's something with Apache. In my Apache 2.4.25 (cPanel)

Re: [users@httpd] Guidance on Fail Over for Load Balancers

2017-01-23 Thread Yehuda Katz
You could set up two HTTPD servers with a shared IP address (using VRRP with keepalived). In that case, I highly recommend using a configuration management tool (for example, puppet or chef) to make sure both systems have the same settings. If the two load balancers need to share session informati

Re: [users@httpd] https://www.berkshirefurniture.com Issue on .htaccess rule.

2017-01-21 Thread Yehuda Katz
It looks more likely to be a problem with your PHP script. When I searched your website for the product in your URL, I found a different URL: https://www.berkshirefurniture.com/carter-upholstered-bed/p/U0h8Y2FydGVyIHVwaG9sc3RlcmVkIGJlZA== Check your access logs and/or turn on rewrite logging to se

Re: [users@httpd] Access forbidden to wordpress tinymce loader

2017-01-12 Thread Yehuda Katz
You haven't given quite enough information for someone to help you. Is there anything in the error log? Can you post the relevant .htaccess files? Absent that, the best we probably can do is point you to the 2.2->2.4 migration documentation: http://httpd.apache.org/docs/2.4/upgrading.html - Y On

Re: [users@httpd] Re: pf 2017

2017-01-01 Thread Yehuda Katz
gt; > If I wanted to hide the port number from visitors so when they went to > something like mydomain.com:2083, it'd show subdomain.mydomain.com > instead, do you think I could accomplish that using a reverse proxy? Is > there any other ways to accomplish this that anyone knows of?

Re: [users@httpd] Re: pf 2017

2017-01-01 Thread Yehuda Katz
I would suggest looking on the cPanel documentation and forums. When you make changes in cPanel it generally overwrites the entire Apache config, so you need to be careful. - Y Sent from a device with a very small keyboard and hyperactive autocorrect. On Jan 1, 2017 4:07 PM, "Spork Schivago" wr

Re: [users@httpd] Query for Apache Server support on Oracle Linux

2016-12-28 Thread Yehuda Katz
he > binaries.Please suggest if my understanding is correct or not . > > On Thu, Dec 29, 2016 at 12:14 AM, pritam sahoo > wrote: > >> Thanks this helps >> >> Get Outlook for iOS <https://aka.ms/o0ukef> >> >> _ >> From:

Re: [users@httpd] HTTP 403 after upgrade from Debian old-stable

2016-12-28 Thread Yehuda Katz
The config syntax for allow,deny access changed in 2.4. Check the upgrade docs for full details: http://httpd.apache.org/docs/2.4/upgrading.html The simplest option might be to enable mod_access_compat , but that might go away in a futur

Re: [users@httpd] Query for Apache Server support on Oracle Linux

2016-12-28 Thread Yehuda Katz
; server on oracle Linux. Customer will definitely buy oracle support for > oracle linux . Please suggest > > Regards > Pritam > > Get Outlook for iOS <https://aka.ms/o0ukef> > > _ > From: Yehuda Katz > Sent: Wednesday, December 28

Re: [users@httpd] Query for Apache Server support on Oracle Linux

2016-12-28 Thread Yehuda Katz
Are you looking for commercial support or do you have a specific question? If you need commercial support for Oracle Linux, you probably need to talk to Oracle. If you have a specific question about using HTTPS on Oracle Linux, post more details. - Y Sent from a device with a very small keyboard

Re: [users@httpd] Why ExpiresByType is ignored when has SetHandler application/x-httpd-php ?

2016-12-27 Thread Yehuda Katz
It might have something to do with the order the modules handle the request. What happens if you tell PHP to set the content type to application/xml? - Y On Tue, Dec 27, 2016 at 3:55 PM, Binyamin <7rai...@inbox.lv> wrote: > בע"ה > > > Why ExpiresByType is ignored when has SetHandler application/

Re: [users@httpd] How to get notify on new releases

2016-12-23 Thread Yehuda Katz
If you install from your operating systems packages it may be possible to have security updates automatically installed - as long as they are backported by the OS package maintainer. You could probably also set up your own system to build HTTPD and make it available to your systems through their pa

Re: [users@httpd] Issue During Cname Switch

2016-12-16 Thread Yehuda Katz
Your question doesn't say whether you are changing the HTTPD configuration or just changing the DNS. Any time you change the HTTPD configuration you need to restart the service. There is no way around that. If that isn't the problem, try describing the steps you take when you make a change. - Y

Re: [users@httpd] Http sessions seems to get mixed with Apache SSL offload/reverse proxy for Exchange 2013 server

2016-11-29 Thread Yehuda Katz
Your best bet might be mod_dumpio and/or sniffing the traffic on each side of Apache. Posting your Virtual Host and Proxy config might help too. Also, it looks like other people appear to have this working (unless they don't use Mac). For example, I found this config: https://github.com/phr0gz/Apa

Re: [users@httpd] ProxyPass not working?

2016-11-09 Thread Yehuda Katz
I hit send too fast. Also, Ubuntu/Debian by default load config from /etc/apache2/sites-enabled. You can use a2ensite or just create a symlink from sites-available. - Y On Wed, Nov 9, 2016 at 7:01 PM, Yehuda Katz wrote: > Can you confirm you don't have a typo? Your ProxyPass has a s

Re: [users@httpd] ProxyPass not working?

2016-11-09 Thread Yehuda Katz
Can you confirm you don't have a typo? Your ProxyPass has a slash and the URL you posted has a dot. - Y On Wed, Nov 9, 2016 at 6:46 PM, Lou DeGenaro wrote: > I'm running apache2 and have defined the following: > > lou@HAL9000:/etc/apache2/sites-available$ cat degenaro.com.conf > > ProxyReq

Re: [users@httpd] Query results display problem in Fuseki v2.4.0 web UI

2016-10-19 Thread Yehuda Katz
It looks like you are asking about some other product (maybe Apache Jena?), but not HTTPD. This list is for HTTPD questions. If you are using Jena, try here: https://jena.apache.org/help_and_support/index.html - Y On Wed, Oct 19, 2016 at 10:06 AM, Mahmood Ahmad < mahmood.ah...@telematicus.com> w

Re: [users@httpd] Apache TomCat 5.5.23 SSL

2016-09-14 Thread Yehuda Katz
Are you using Apache HTTPD or just Tomcat? This list if for HTTPD questions. A better place to ask for help with Tomcat is the Tomcat list: http://tomcat.apache.org/lists.html - Y On Wed, Sep 14, 2016 at 9:02 AM, Pham, Mary (NIH/OD/ORS) [E] < maryp...@mail.nih.gov> wrote: > *Hello EveryOne,* > >

Re: [users@httpd] 2.4.24 or 2.4.25

2016-07-25 Thread Yehuda Katz
There has been some talk of the next release on the dev@ list, but no specific timeline. - Y On Mon, Jul 25, 2016 at 11:56 PM, Good Guy wrote: > Any ideas when is the next version likely to be released? > > I'm not in a hurry but soon I'll have to setup a new server so if I have > to wait for a

Re: [users@httpd] Apache 2.4.12+ on Windows x64 stops responding to requests

2016-07-25 Thread Yehuda Katz
Can you try the x86 build? - Y On Mon, Jul 25, 2016 at 12:34 PM, Arthur Ramsey wrote: > I'm using the x64 build. > > > On 07/25/2016 11:33 AM, Yehuda Katz wrote: > > Are you using a 32-bit or 64-bit build? > I had a similar problem with the 64-bit build and when I sw

Re: [users@httpd] Apache 2.4.12+ on Windows x64 stops responding to requests

2016-07-25 Thread Yehuda Katz
Are you using a 32-bit or 64-bit build? I had a similar problem with the 64-bit build and when I switch to the 32-bit build, it worked fine. - Y On Jul 25, 2016 11:54 AM, "Arthur Ramsey" wrote: > Hello, > > I'm using Apache as a proxy to AJP, HTTP and HTTPS services. I have an > issue with Apa

Re: [users@httpd] Syntax checking an alternate configuration file

2016-07-06 Thread Yehuda Katz
That is a change RedHat made to the script - it isn't in the regular distribution. RedHat explicitly discourages using a non-default-location configuration file. Ref: https://access.redhat.com/discussions/1605003 - Y On Wed, Jul 6, 2016 at 12:17 PM, Darryl Philip Baker < darryl.ba...@northwester

Re: [users@httpd] Apache listening on UDP ports

2016-07-06 Thread Yehuda Katz
HTTPD as currently released does not support listening on UDP ports. A request like this came up in 2007 ( http://marc.info/?l=apache-httpd-users&m=118950412526067&w=2). At that time, someone came up with patches to make it work, but those haven't been maintained and there is no guarantee they wou

Re: [users@httpd] Date Format of Shell Program Changes in Apache

2016-07-01 Thread Yehuda Katz
opefully that helps, - Y On Fri, Jul 1, 2016 at 5:50 PM, Yehuda Katz wrote: > This is because of the locale settings. I changed the script to show the > locale (and to be plain text so the spaces are visible). > > #!/usr/bin/perl >> use strict; >> print "content-typ

Re: [users@httpd] Date Format of Shell Program Changes in Apache

2016-07-01 Thread Yehuda Katz
This is because of the locale settings. I changed the script to show the locale (and to be plain text so the spaces are visible). #!/usr/bin/perl > use strict; > print "content-type: text/plain\n\n"; > print `who`; > print `locale`; Apache shows this: yehuda pts/2Jul 1 17:37 (pool-xx

Re: [users@httpd] Is there a way to return non-200 status when HHVM backend is down?

2016-06-08 Thread Yehuda Katz
t 3:35 PM, Yehuda Katz wrote: > >> If you use mod_rewrite instead of ProxyPass, you can specify it should >> only proxy for files that don't exist. This is an example from the >> documentation: >> >> RewriteCond "%{REQUEST_FILENAME}" !-f >> Rewr

Re: [users@httpd] Is there a way to return non-200 status when HHVM backend is down?

2016-06-08 Thread Yehuda Katz
If you use mod_rewrite instead of ProxyPass, you can specify it should only proxy for files that don't exist. This is an example from the documentation: RewriteCond "%{REQUEST_FILENAME}" !-f RewriteCond "%{REQUEST_FILENAME}" !-d RewriteRule "^/(.*)" "http://old.example.com/$1"; [P] - Y Sent from

Re: [users@httpd] Possible DOS Attack

2016-05-21 Thread Yehuda Katz
On Fri, May 20, 2016 at 7:09 PM, Kurtis Rader wrote: > On Fri, May 20, 2016 at 4:00 PM, Roman Gelfand > wrote: > >> Also, what does this mean? >> > >> ::1 - - [20/May/2016:18:26:09 -0400] "OPTIONS * HTTP/1.0" 200 - "-" >> "Apache/2.4.6 (Red Hat Enterprise Linux) PHP/5.4.16 (internal dummy >> con

Re: [users@httpd] old solaris box (but heavily used)

2016-05-20 Thread Yehuda Katz
Honestly - since you asked such an open-ended question: since you would have to recompile, upgrade to a more recent version. Is this machine also SunOS 5.10? I think you should be able to go all the way up to 2.4. - Y On Fri, May 20, 2016 at 4:40 PM, james pruett wrote: > so, what would you do?

Re: [users@httpd] old solaris box (but heavily used)

2016-05-20 Thread Yehuda Katz
Your original email said you were using HTTPD 2.0.63. Your last email says you are using HTTPD 1.3.37. In 1.3 you needed to have mod_so loaded in order to use LoadModule which would require recompiling since you don't already have it. - Y On Fri, May 20, 2016 at 4:20 PM, james pruett wrote: > I

Re: [users@httpd] Fwd: old solaris box (but heavily used)

2016-05-20 Thread Yehuda Katz
If you have the correct mod_rewrite.so file available you don't need to compile anything. If you need to make changes to the server configuration, you will need to restart the server process. If you are making the rewrite changes in an htaccess file, you don't need to restart anything (as long as h

Re: [users@httpd] Show Alternate Image if Requested Image is Missing

2016-05-03 Thread Yehuda Katz
AllowOverride None > Order allow,deny > Allow from all > > > I can create the directory path "/mnt/data/pawebdata/docs/images/sketches" > just to see if the "no_sketch.jpg" shows. But that couldn't be the > permanent solution. > > I will also

Re: [users@httpd] Show Alternate Image if Requested Image is Missing

2016-05-03 Thread Yehuda Katz
for missing JPGs in the /image/sketches path and having to work with > someone else's configuration. > So I'll try to give the best information I can. > > > Julie Kurpa > Sr. Systems Programmer > 119 W. Indiana Ave > DeLand, FL 32720 > Office: (386) 7

Re: [users@httpd] Show Alternate Image if Requested Image is Missing

2016-05-03 Thread Yehuda Katz
On Tue, May 3, 2016 at 10:52 AM, Julie Kurpa wrote: > The sketches themselves are JPGs located within a directory on the Linux > server. > If the JPG for a property is found to be missing, I would like to show an > alternate JPG called "no_sketch.jpg". > I've tried a gazillion variations of the

Re: [users@httpd] Server replication

2016-04-17 Thread Yehuda Katz
A configuration management tool (like Puppet, for example) may be a better fit for what you are looking for. I have implemented this solution at a state university - email me off the list if you want specifics. That said, can you be more specific about what you are trying to do? Are you trying to

Re: [users@httpd] issue during installing httpd-2.0.63

2016-04-14 Thread Yehuda Katz
> > regards, > Sandeep > > On Fri, Apr 15, 2016 at 4:08 AM, Yehuda Katz wrote: > >> Is there a reason you are building 2.0? The last release was in 2013 and >> it is likely not secure. >> >> For 2.2 or 2.4, have you read this: >> https://wiki.apache.o

Re: [users@httpd] issue during installing httpd-2.0.63

2016-04-14 Thread Yehuda Katz
Is there a reason you are building 2.0? The last release was in 2013 and it is likely not secure. For 2.2 or 2.4, have you read this: https://wiki.apache.org/httpd/AIXPlatform - Y Sent from a gizmo with a very small keyboard and hyperactive autocorrect. On Apr 14, 2016 6:21 PM, "Sandeep Acharya"

Re: [users@httpd] How to debug the PHP component of Apache2

2016-04-11 Thread Yehuda Katz
That documentation only contains modules shipped with HTTPD. mod_php is shipped with PHP. Try the PHP documentation: http://php.net/manual/en/install.php - Y On Mon, Apr 11, 2016 at 12:34 PM, Roparzh Hemon wrote: > On Sun, Apr 10, 2016 at 8:24 PM, Alexandru Duzsardi > wrote: > > php and php m

Re: [users@httpd] Installing MySQL Debian Apache2

2016-03-27 Thread Yehuda Katz
You would be better off asking on a MySQL list of forum. This list is for the Apache HTTPD project. This might be a good place to start: https://dev.mysql.com/doc/refman/5.7/en/information-sources.html - Y Sent from a device with a very small keyboard and hyperactive autocorrect. On Mar 27, 2016

Re: [users@httpd] Server is going down after too many reloads (graceful)

2016-03-24 Thread Yehuda Katz
a diferant configuration of this > > 2016-03-23 20:40 GMT-03:00 Yehuda Katz : > >> You could look at mod_vhost_alias to avoid reboots: http >> <http://httpd.apache.org/docs/2.4/mod/mod_vhost_alias.html>:// >> <http://httpd.apache.org/docs/2.4/mod/mod_vhost_alias.html> &g

Re: [users@httpd] Server is going down after too many reloads (graceful)

2016-03-23 Thread Yehuda Katz
You could look at mod_vhost_alias to avoid reboots: http :// httpd.apache.org /docs/2.4/mod/mod_

Re: [users@httpd] Apache won't start after install on Unix-like system

2016-03-18 Thread Yehuda Katz
Are you running on mac? A quick Google search shows several possibilities, all homebrew related. http://stackoverflow.com/questions/31036704/starting-apache-httpd-with-homebrew-php55-dyld-library-not-loaded-usr-local - Y On Fri, Mar 18, 2016 at 11:43 AM, Roparzh Hemon wrote: > I get the follow

Re: [users@httpd]

2016-03-03 Thread Yehuda Katz
Debian includes the files in /etc/apache2/mods-enabled, not mods-available. If mods-enabled/ssl.conf is a symlink to mods-available/ssl.conf, it will be included in apache2.conf. You haven't specified which version of Debian or Apache you use, but in Apache 2.4, the line in apache2.conf looks like

Re: [users@httpd] mod_proxy HTTP/2

2016-03-01 Thread Yehuda Katz
mod_proxy_http doesn't support http2 yet. There is a separate mod_proxy_http2, but I don't think it has been released. It uses a new syntax to force an h2 connection. Dev list discussion: http://marc.info/?l=apache-httpd-dev&m=145495124513617&w=2 - Y Sent from a device with a very small keyboard

Re: [users@httpd] SSI question

2016-02-29 Thread Yehuda Katz
ad no issues. - Y On Mon, Feb 29, 2016 at 10:22 AM, Dave Shaw wrote: > On 2/28/16, Yehuda Katz wrote: > > > Have you checked the error log? > > The error log the commercial service is showing us indicates no errors > > > What did you do to require passwords? > &g

Re: [users@httpd] SSI question

2016-02-28 Thread Yehuda Katz
Have you checked the error log? What did you do to require passwords? - Y Sent from a device with a very small keyboard and hyperactive autocorrect. On Feb 28, 2016 12:35 PM, "Dave Shaw" wrote: > Greetings-- We're setting up a website on a commercially-hosted server > that supports SSI. The we

Re: [users@httpd] Second apache as fallback server

2016-02-15 Thread Yehuda Katz
On Mon, Feb 15, 2016 at 9:24 AM, Bob wrote: > The challenge is to maintain unique web server log across the nodes. Any > clue about that ? > Again for pages which send emails, all nodes must have running postfix > with same domain. > I'm also wondering how to do that. > To keep the configuration

Re: [users@httpd] Second apache as fallback server

2016-02-14 Thread Yehuda Katz
We use three different methods: 1. Content on NFS server 2. Content auto-committing and auto-pulling over git about every 15 minutes 3. Separate database server - with replication for backup. - Y Sent from a device with a very small keyboard and hyperactive autocorrect. On Feb 14, 2016 5:28 PM, "

Re: [users@httpd] Support for http return code 451?

2016-02-09 Thread Yehuda Katz
What do you mean by "support"? If you have an application you can already send that header and an error message explaining it. The RFC says: > Responses using this status code SHOULD include an explanation, in the > response body, of the details of the legal demand: the party making it, the > ap

Re: [users@httpd] Newbie

2016-02-07 Thread Yehuda Katz
IBM packages their own version of HTTPD. This might be a good place to start: http://www-03.ibm.com/systems/power/software/i/http/ - Y On Sun, Feb 7, 2016 at 12:08 PM, Rudy wrote: > I know nothing of Apache, but, I wish to setup an older iSeries as a web > server using Apache. My iSeries is

Re: [users@httpd] Command line method to get virtual hosts and DocumentRoot?

2016-01-28 Thread Yehuda Katz
The best way I know of to do this is with mod_info and then you have two options: 1. Run "httpd -DDUMP_CONFIG" and parsing the output. This has the downside of not merging or overriding repeated directives. 2. curl (or similar) http://localhost/server-info and parse that output. - Y On Thu, Jan 2

Re: [users@httpd] Question

2016-01-25 Thread Yehuda Katz
Then this is the wrong place to ask for support. This list is for the Apache HTTPD project and has nothing to do with IIS or PHP. PHP.net has a list of places you can get PHP-specific help: http://php.net/support.php - Y On Mon, Jan 25, 2016 at 3:27 PM, Debra Rozier wrote: > No, this is a php a

Re: [users@httpd] Apache serving up default certificate for certain domains

2016-01-16 Thread Yehuda Katz
Maybe the updated openssl doesn't like something about your certificates. Does Apache have any warnings or notices when it starts up? Try running httpd -S which lists all the vhosts Apache has and see if it matches what you expect. You may also see the errors from that command (tested on RHEL 7 -

Re: [users@httpd] Apache stops serving pages

2016-01-11 Thread Yehuda Katz
Are you using a 64-bit version of Apache or a 32-bit version? Where did you download it? I often have issue with the 64-bit Windows builds, so I usually stick to the 32-bit builds from Apache Lounge. - Y On Mon, Jan 11, 2016 at 10:32 PM, Jim Walls wrote: > I asked the question below about my Ap

Re: [users@httpd] Blocking of users [was: Apache Server Access]

2016-01-11 Thread Yehuda Katz
It's unfortunate that people can't figure out how to unsubscribe from a mailing list that they subscribed to in the first place. >From the website: To unsubscribe, send a messages to *users-unsubscr...@httpd.apache.org* (or, if you are subscribed to the digest version of the list, send to *users-

Re: [users@httpd] apache 2.4 httpd.conf configuration

2015-12-29 Thread Yehuda Katz
wrote: > I will try “--enable-module=static” in configure and re-compile. > > Then try httpd again without LoadModule line for unixd. > > > > Thanks > > David Long > > > > *From:* Yehuda Katz [mailto:yeh...@ymkatz.net] > *Sent:* Tuesday, December 29, 2015

Re: [users@httpd] apache 2.4 httpd.conf configuration

2015-12-29 Thread Yehuda Katz
in are > > "--enable-unixd" \ > > "--enable-so" \ > > "--enable-proxy" \ > > "--enable-ssl" \ > > "--enable-deflate" \ > > "--enable-rewrite" \ > > "--enable-headers" \ > > "--e

Re: [users@httpd] apache 2.4 httpd.conf configuration

2015-12-28 Thread Yehuda Katz
Did you have --enable-module=static also? Are other modules compiled in? Check for LoadModule directives in your config to make sure. - Y On Mon, Dec 28, 2015 at 10:23 PM, David Long wrote: > when I start httpd. It failed with following error > "[Mon Dec 28 16:37:03.900984 2015] [core:crit] [p

Re: [users@httpd] Architecture recommendations, tips, hints and help

2015-11-29 Thread Yehuda Katz
You might want to use CGI or FastCGI rather than an Apache module. You can write CGI in any language, including C or C++ and there are libraries that already implement FastCGI for both languages. There are a few benefits of not using a module - If you update Apache, you may need to make changes to

Re: [users@httpd] RewriteCond to compare file sizes

2015-11-23 Thread Yehuda Katz
I have never used it, but according to the documentation it is available in 2.4. RewriteCond supports expr [1], and expr has a function for filesize [2]. [1] http://httpd.apache.org/docs/2.4/mod/mod_rewrite.html#rewritecond [2] http://httpd.apache.org/docs/2.4/expr.html#functions - Y Sent from

Re: [users@httpd] Fwd: Server Problem

2015-11-22 Thread Yehuda Katz
#x27;t have knowledge about it. I am new here. Could you >> please guide me? what I have to change. >> >> On Sun, Nov 22, 2015 at 12:36 PM, Yehuda Katz wrote: >> >>> Did you change AllowOverride, and add RewriteEngine On anywhere in the >>> config? Otherwis

Re: [users@httpd] Fwd: Server Problem

2015-11-22 Thread Yehuda Katz
links but it still not working and having a > same problem. > > In httpd.conf on line 154, LoadModule rewrite_module > modules/mod_rewrite.so is already enabled > > On Sun, Nov 22, 2015 at 11:31 AM, Yehuda Katz wrote: > >> You have AllowOverride set to none and you don

Re: [users@httpd] Fwd: Server Problem

2015-11-22 Thread Yehuda Katz
On Sun, Nov 22, 2015 at 10:34 AM, KARANDEEP SINGH DHALIWAL < dhaliwal...@gmail.com> wrote: > httpd.conf = https://gist.github.com/dhaliwaljee/264eddd3958f01925d94 > .htaccess = https://gist.github.com/dhaliwaljee/f263e27bede345a99639 > > On Sun, Nov 22, 2015 at 9:27 AM, Yehuda Ka

Re: [users@httpd] Fwd: Server Problem

2015-11-22 Thread Yehuda Katz
The error log says the configuration that is denying access is in that .htaccess file. Can you post the contents of that file (putting it in a pastebin or gist and sending the link is a good way to avoid losing the formatting in an email). - Y Sent from a device with a very small keyboard and hyp

Re: [users@httpd] How to post to HTTPD Users List

2015-11-17 Thread Yehuda Katz
e can propose taking the link off the website or replacing it with something else. I actually do think that this document is way too long as a welcome to a new poster. A concise bulleted list might be better. - Y On Mon, Nov 16, 2015 at 8:37 AM, Rich Bowen wrote: > > > On 11/15/2015 12

[users@httpd] How to post to HTTPD Users List

2015-11-15 Thread Yehuda Katz
How to get a reasonable answer to a question on this list: 1. Choose a subject that describes what you want to ask. "Re: confirm subscribe to users@httpd.apache.org" is not a descriptive subject. 2. Ask a question. You are more likely to get a good answer if you have a specific question. Implicit q

Re: [users@httpd] Running Apache in Single Process Mode for Docker Container?

2015-10-26 Thread Yehuda Katz
Unsubscribe: email users-unsubscr...@httpd.apache.org - Y On Mon, Oct 26, 2015 at 11:13 AM, DeLeon, Rose L wrote: > Please do not email me anymore > > > > > > > > *From:* Kurtis Rader [mailto:kra...@skepticism.us] > *Sent:* Monday, October 26, 2015 7:34 AM > *To:* users@httpd.apache.org > *Subj

Re: [users@httpd] Sanity Checking mod_rewrite for Apache 2.2 on Ubuntu 12.04

2015-10-26 Thread Yehuda Katz
It also looks from the access log that the request is actually coming with HTTP/1.1: $ sudo tail -1 /var/log/apache2/access.log > 127.0.0.1 - - [25/Oct/2015:18:13:16 +] "GET / HTTP/1.1" 200 402 "-" "curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 libr

Re: [users@httpd] Running Apache in Single Process Mode for Docker Container?

2015-10-25 Thread Yehuda Katz
You could try starting the service and run "ps auxf | grep apache". This doesn't always give you all the information, but it could help. - Y On Sun, Oct 25, 2015 at 10:26 PM, David Aronchick wrote: > Thank you, this is very helpful! Is there any way to get an output of all > the items on the co

Re: [users@httpd] Re: Request Entity Too Large

2015-07-24 Thread Yehuda Katz
If you are sure the problem is with nss, you will probably get more help on their mailing list: https://www.redhat.com/mailman/listinfo/mod_nss-list - Y On Fri, Jul 24, 2015 at 1:22 PM, Cohen, Laurence wrote: > It seems that the problem I'm having started when we went to mod_nss from > mod_ssl.

Re: [users@httpd] Re: Request Entity Too Large

2015-07-24 Thread Yehuda Katz
I am not familiar enough with Tomcat to say for sure. It might also depend on your application. - Y On Fri, Jul 24, 2015 at 10:55 AM, Cohen, Laurence wrote: > Hi Yehuda, > > Am I looking at catalina.out for the 413 error, or some other log on the > Tomcat server? > > Thanks, > > Larry Cohen > >

Re: [users@httpd] Fwd: SSI directives not working on page used in ErrorDocument directive

2015-07-23 Thread Yehuda Katz
What mechanism are you using to have SSI work on .html pages? I have no problem getting SSI to work when my page extension is .shtml: This is my very simple test which works perfectly: .htaccess: > Options +Includes > ErrorDocument 404 /error.shtml error.shtml: > Last modified: Produces:

Re: [users@httpd] Request Entity Too Large

2015-07-23 Thread Yehuda Katz
The first thing to check is if it is an HTTPD error or a Tomcat error. You haven't explicitly said this, but I am guessing you are using HTTPD as a reverse proxy. Check the Tomcat logs first. If the 413 shows up there, it is a problem with Tomcat and not with HTTPD. Check the HTTPD error log also

Re: [users@httpd] php-fpm and proxy , httpd 2.4.12

2015-07-23 Thread Yehuda Katz
On Thu, Jul 23, 2015 at 3:15 PM, MM wrote: > You need to choose mod_php or fpm. Don't load both. I personally usually >> use mod_php. >> > Is it that with mod_php, httpd runs php in process while fpm delegates to > separate processes? > Correct. - Y

Re: [users@httpd] php-fpm and proxy , httpd 2.4.12

2015-07-22 Thread Yehuda Katz
Do you need this configuration to be portable to different systems with different modules available? If not, remove all the wrote: > Apologies for the missing info. It is https by the way. Please see below: > > On 21 July 2015 at 00:48, Yehuda Katz wrote: > >> You haven'

Re: [users@httpd] php-fpm and proxy , httpd 2.4.12

2015-07-20 Thread Yehuda Katz
You haven't shown a need for any proxy configuration at all and you did not include nearly enough configuration, plus you didn't say what wiki package you are running. How about posting more of your config, including the vhost and actual fpm or mod_php config? Sent from a gizmo with a very small

Re: [users@httpd] ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

2015-07-19 Thread Yehuda Katz
This is only useful if you have scripts in /usr/lib/cgi-bin that you actually use. Look in that directory and see if anything there looks familiar. If not, you can remove that safely too. - Y On Sun, Jul 19, 2015 at 9:01 PM, John Fisher GM wrote: > A second question... > > Again, running Apache

Re: [users@httpd] Alias /doc/ "/usr/share/doc/"

2015-07-19 Thread Yehuda Katz
The allow statement only lets you view the docs from localhost, which explains the 403 (you should see that in your error log). You can safely remove those. - Y On Sunday, July 19, 2015, John Fisher GM wrote: > We're running Apache 2.2 on Debian 7 wheezy. We have approximately 24 > virtual host

Re: [users@httpd] Security question

2015-07-02 Thread Yehuda Katz
It is an attempt to exploit a specific configuration. By the fact that apache returned a 404 (the log line says so), you can see that attempt was not successful. - Y Sent from a gizmo with a very small keyboard and hyperactive autocorrect. On Jul 2, 2015 8:00 AM, "Victor Sterpu" wrote: > Hello

Re: [users@httpd] Cannot access my webserver any longer

2015-06-26 Thread Yehuda Katz
suming this > is the .crt files in httpd/conf/ssl.crt. > > Thanks, > > Larry > > On Fri, Jun 26, 2015 at 1:16 PM, Yehuda Katz wrote: > >> When Chrome does not show the coninue option, it usually has an >> additional error message where the button would be t

Re: [users@httpd] Cannot access my webserver any longer

2015-06-26 Thread Yehuda Katz
gt; Larry Cohen > > On Fri, Jun 26, 2015 at 12:33 PM, Yehuda Katz wrote: > >> I have seen this happen when you send an HSTS header. The Chrome error >> would say that specifically. >> A workaround would be to install that certificate on your system (with >> the mmc c

Re: [users@httpd] Cannot access my webserver any longer

2015-06-26 Thread Yehuda Katz
I have seen this happen when you send an HSTS header. The Chrome error would say that specifically. A workaround would be to install that certificate on your system (with the mmc certificate snap-in) so that it becomes a trusted certificate - trusted site in IE is not enough. - Y On Fri, Jun 26,

Re: [users@httpd] how to upgrade httpd apache with existing SSL

2015-06-12 Thread Yehuda Katz
24-0309 > www.pscomplete.com > > On Thu, Jun 11, 2015 at 3:45 PM, Yehuda Katz wrote: > >> Your SSL certificate is part of your configuration, not part of the >> server itself. Just make sure you don't overwrite the config files >> (including where ever the SSL con

<    1   2   3   4   5   >