Hi all
I run Apache on Windoze, and i have redirects to enable shorter urls eg the user can type in to be redirected to
I am wanting to redirect all requests to myapp to a page notifying of future planned downtimes, however i also need to cover those people who use the full url.
I redirect to a html page which gives the textual notice, and a link to continue to the application.
However, i cant figure out how to do this without an endless loop of redirect to html page:
<code>
Redirect permanent /myapp redirect permanent /cgi-bin/myapp.exe </code>
<code>
<body>
<h2>IMPORTANT NOTICE
</h2>
<div>
<p>This site will be undergoing some routine maintenance on Tuesday 28th August.</p><p>
Applications will be temporarily inaccessible. </p>
<p>We apologise for the inconvenience.</p>
</div>
<p><a href="../cgi-bin/myapp.exe">>>>CONTINUE</a></p>
</body>
</code>
What is the best way to do this without having this endless loop?? I dont use session states in apache.
Tracey
Remember... True happiness is not getting what you want...
Its wanting what you have got!
I run Apache on Windoze, and i have redirects to enable shorter urls eg the user can type in to be redirected to
I am wanting to redirect all requests to myapp to a page notifying of future planned downtimes, however i also need to cover those people who use the full url.
I redirect to a html page which gives the textual notice, and a link to continue to the application.
However, i cant figure out how to do this without an endless loop of redirect to html page:
<code>
Redirect permanent /myapp redirect permanent /cgi-bin/myapp.exe </code>
<code>
<body>
<h2>IMPORTANT NOTICE
</h2>
<div>
<p>This site will be undergoing some routine maintenance on Tuesday 28th August.</p><p>
Applications will be temporarily inaccessible. </p>
<p>We apologise for the inconvenience.</p>
</div>
<p><a href="../cgi-bin/myapp.exe">>>>CONTINUE</a></p>
</body>
</code>
What is the best way to do this without having this endless loop?? I dont use session states in apache.
Tracey
Remember... True happiness is not getting what you want...
Its wanting what you have got!