RE: [us...@httpd] Urgent help needed in creating new directive in http.conf.

2010-06-08 Thread Manoj Samtani
http://www.sergiy.ca/how-to-create-custom-directives-for-apache-velocity/ Use this link if this helps you out. --- Manoj Date: Wed, 9 Jun 2010 12:14:58 +0530 From: matty.r...@gmail.com To: users@httpd.apache.org Subject: [us...@httpd] Urgent help needed in creating new directive in http.conf.

[us...@httpd] Urgent help needed in creating new directive in http.conf.

2010-06-08 Thread Matty Ronald
Hi All, We want to introduce a new feature in apache which is required by our company. For which we need to add a directive in httpd.conf or http-ssl.conf. But I am clueless from where to start. Can anyone help me to from where I can start? Thanks Matty.

RE: [us...@httpd] Recommended way to setup Virtual Host

2010-06-08 Thread Manoj Samtani
It's very simple to setup NameBase Virtual Host in Apache: Like we have server with 10.0.0.1 IP which should serve over port 80 and we want to setup Apache for domains abc.com and xyz.com. Follow below given notes. Add following lines in httpd.conf file: NameVirtualHost 10.0.0.1:80 ServerNam

[us...@httpd] Reverse proxy with Apache breaks my preferred charset

2010-06-08 Thread Jason Voorhees
Hi all: I'm running Apache 2.2.15 in a CentOS Linux 5 OS configured as a reverse proxy using mod_proxy, mod_proxy_html, mod_xml2enc and mod_charset_lite. My configuration is as follows: ProxyRequests Off ProxyPass / http://192.168.140.249/ ProxyHTMLEnable On ProxyHTMLURLMap On ProxyHTMLURLMap htt

Re: [us...@httpd] SSL/SNI configuration oddity

2010-06-08 Thread Frank Gingras
On 08/06/2010 2:08 PM, Adkins, Marc wrote: You can't serve HTTP and HTTPS content from the same vhost. Where is that documented? I've been reading various documents for a while without running across that caveat. Though it makes some sense in retrospect. You can use the Include dir

[us...@httpd] Mod_substitute linebreaks?

2010-06-08 Thread Eli Loewen
I'm looking for a way to add linebreaks to a substitution using mod_substitute and I have no idea how to do it. For example I have the code: Substitute 's|REPLACE-THIS|Stuff. New line. Etc.|q' And I want to have a linebreak (the code following on a new line) between "Stuff." and "New line."

Re: [us...@httpd] wordpress server

2010-06-08 Thread Marcin 'Rambo' Roguski
> Any ideas on what may be wrong in the configuration? This is really a Wordpress and not Apache question, but what the hay... http://codex.wordpress.org/Changing_The_Site_URL -- A man of genius makes no mistakes. His errors are volitional and are the portals of discovery. -- Ja

[us...@httpd] wordpress server

2010-06-08 Thread motty.cruz
Hello, I built a wordpress server running on FreeBSD 8.0 apache 1.3 I set "DocumentRoot" to "/usr/local/www/data/wordpress" and when I go to www.wordpressserver.net/ I get broken links of wordpress Not Found The requested URL /wordpress/wp-content/themes/2977/slide/slide.php was not

Re: [us...@httpd] Unable to conditionally set cache-control

2010-06-08 Thread Eric Covener
On Tue, Jun 8, 2010 at 3:20 PM, wrote: > > The home.html is a JSP page written by tomcat. > > Yes, the problem is the same for all file types. and refer to things in the Apache filesystem, not to patterns in a URL. Try LocationMatch. -- Eric Covener cove...@gmail.com ---

RE: [us...@httpd] Unable to conditionally set cache-control

2010-06-08 Thread mitchel.carlsen
The home.html is a JSP page written by tomcat. Yes, the problem is the same for all file types. To test that it is indeed all file types, I modified the conditional statement to include *.jpg with same results: Header unset ETag Header set Cache-Control "max-age=0, no-cache, no-store, must-r

Re: [us...@httpd] SSL/SNI configuration oddity

2010-06-08 Thread Adkins, Marc
> You can't serve HTTP and HTTPS content from the same vhost. Where is that documented? I've been reading various documents for a while without running across that caveat. Though it makes some sense in retrospect. > You can use the Include directive to reduce clutter. Yeah, that's what I was t

Re: [us...@httpd] SSL/SNI configuration oddity

2010-06-08 Thread Frank Gingras
On 08/06/2010 1:46 PM, Adkins, Marc wrote: I'm trying to configure multiple named virtual hosts with SSL using SNI. I believe that I'm running the latest versions of the software, and that SNI is built into it (as the first line apparently demonstrates): [Tue Jun 08 05:19:42 2010] [warn]

[us...@httpd] SSL/SNI configuration oddity

2010-06-08 Thread Adkins, Marc
I'm trying to configure multiple named virtual hosts with SSL using SNI. I believe that I'm running the latest versions of the software, and that SNI is built into it (as the first line apparently demonstrates): [Tue Jun 08 05:19:42 2010] [warn] Init: Name-based SSL virtual hosts only

Re: [us...@httpd] httpd vhost centralized logging

2010-06-08 Thread Jonas Eckerman
On 2010-06-05 18:11, James Corteciano wrote: Thanks for your response. What is your configuration for ErrorLog on all vhost? For one single error log to wich all vhosts log, just place the ErrorLog directive in the server config scope (outside of any VirtualHost container). For multiple err

Re: [us...@httpd] Unable to conditionally set cache-control

2010-06-08 Thread Pablo Garcia Melga
Is the home.html an actual file or a Rewrite rule ? Do you have the same problem with other files ? .js or .css ? On Mon, Jun 7, 2010 at 9:05 PM, wrote: > Please excuse my query as I’m new to apache and open source in general. > I’m attempting to set the cache-control to no-cache by using the f

RE: [us...@httpd] Apache/2.2.12 Reverse Proxy

2010-06-08 Thread Andy Ee
Hi, To be more detail, the output of Live HTML Headers is correct. The home.html does internal redirection to login.jsp, but somehow reverse proxy is unable to map properly. Any idea? Thanks. Best Regards, Andy Ee -Original Message- From: Andy Ee [mailto:and...@sysatwork.com] Sent:

RE: [us...@httpd] Apache/2.2.12 Reverse Proxy

2010-06-08 Thread Andy Ee
Hi Krist, I went to install Live HTML Headers and tested it with FireFox browser. The output: http://10.0.0.7/abc/mysite/home.html GET /abc/mysite/home.html HTTP/1.1 Host: 10.0.0.7 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 Accept: text

Re: [us...@httpd] Apache/2.2.12 Reverse Proxy

2010-06-08 Thread Krist van Besien
On Tue, Jun 8, 2010 at 8:28 AM, Andy Ee wrote: > However, when I click on hyperlink on the website that does internal PAGE > > REDIRECT, the browser could not display the page. Apparently, the page > > redirect action breaks the reverse proxy. Have you looked at what passes back and forth betwe

Re: [us...@httpd] [Fwd: Reverse Proxy Configuration]

2010-06-08 Thread Krist van Besien
On Tue, Jun 8, 2010 at 4:34 AM, John Iliffe wrote: > If I try to use either of the ProxyHTMLEnable On or ProxyHTMLURLMap > directives apachectl -S still flags them as errors. You have proxy_html 3.0.1. ProxyHTMLEnable is new to 3.1 ... Have a look here: http://apache.webthing.com/mod_proxy_html3