[users@httpd] How to create Custom Http Status code

2014-03-28 Thread Sailaja Gadireddy
Hello Team, We have a requirement to use custom Http status codes instead of using default codes. Could you please let us know how we can implement this in apache.? Thanks Regards, Sailaja.

Re: [users@httpd] How to create Custom Http Status code

2014-03-28 Thread Pete Houston
The HTTP status codes are defined in httpd.h, so you could just edit them there and recompile. However, I advise strongly against using custom HTTP status codes for what should hopefully be obvious reasons. Perhaps this is an XY problem? Pete On Fri, Mar 28, 2014 at 04:38:06PM +0530, Sailaja

[users@httpd] URL Rewrite Question

2014-03-28 Thread Brian Gaber
This is my first attempt at using RewriteRule. I have about 200 webpages the contain SPS or MENU (in UPPER or lower case) that I want to send to a webpage on another server. I thought this might work, but it has not. RewriteCond %{REQUEST_URI} (SPS|MENU) RewriteRule ^/$

Re: [users@httpd] URL Rewrite Question

2014-03-28 Thread Michael Streeter
On 3/28/2014 9:39 AM, Brian Gaber wrote: This is my first attempt at using RewriteRule. I have about 200 webpages the contain SPS or MENU (in UPPER or lower case) that I want to send to a webpage on another server. I thought this might work, but it has not. RewriteCond %{REQUEST_URI}

[users@httpd] Multiple Name based web Sites

2014-03-28 Thread Joseph Darman
Hello, I was running a single web site with Apache and Windows 7, all worked fine. Tried to direct another domain to the server (add a another web site), but all traffic goes to the first web site. Below is the code I have: NameVirtualHost *:80 # Begin First Web Page