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.
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
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 ^/$
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}
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