You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Boyle Owen <Ow...@swx.com> on 2004/01/05 16:22:07 UTC

RE: [users@httpd] Errors with Apache 2.0.48

> -----Original Message-----
> From: Wilson, Allen [mailto:Allen.Wilson@marcresearch.com]
> 
> Has anyone encounter this error before. I am trying to install on Sun
> 2.8.....
>
> checking for gcc... gcc
> checking for C compiler default output... configure: error: C compiler
> cannot create executables

gcc doesn't appear to work.

Do "which gcc" to see where it's installed and "gcc -v" to see the
version. Something is wrong with it - if only there were some details
somewhere...

> check `config.log' for details.

hmmm.... I wonder...

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 


> configure failed for srclib/apr
> 
> 
> Thanks ...Allen
>

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] A question for the Apache gurus!

Posted by Joshua Slive <jo...@slive.ca>.
On Mon, 5 Jan 2004, Jon Block wrote:
> Can someone please give me an example of how I could serve out my "go.cfm"
> file when requests come in for files that I do not have *AND* at the same
> time return a normal response status code like "200 OK" or a 302 redirect??
> Whatever happens, I don't want to reveal to the client that anything was
> "not found" so that my links are spider-able.

I never recommend lying to clients unless you have a VERY good reason, but
if you want to, it is easy enough:

ErrorDocument 404 http://www.sample.com/go.cfm?id=123
ErrorDocument 403 http://www.sample.com/go.cfm?id=123

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] A question for the Apache gurus!

Posted by Jon Block <ht...@collegepublisher.com>.
I'm using an ErrorDocument directive in Apache 1.3 to say "If the file is
not found, serve out a different file instead." It works great. My problem
is that even though the webserver doesn't find the file, I don't want the
end user to know. My main concern is that I do not want to serve out any
error codes when requests for missing files come in. A 302 redirect would be
fine but Apache is spitting out "403 Forbidden" in my response header.

For example, when I make a request for the missing file, the initial
response header from the webserver is this...

-----------
HTTP/1.1 403 Forbidden
Date: Mon, 05 Jan 2004 16:09:39 GMT
Server: Apache/1.3.27 (Win32)
Page-Completion-Status: Normal
Page-Completion-Status: Normal
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html
-----------

The text content of the file I'm serving out (by using the ErrorDocument
directive) is this....

(bling.cfm)
-----------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
	<META HTTP-EQUIV=Refresh CONTENT="0;
URL=http://www.sample.com/go.cfm?id=123">
</head>
<body></body>
</html>
-----------

Immediately after getting this response, the user gets meta refreshed to the
page they should receive. The "go.cfm" file has a normal response header
without any error codes.

Can someone please give me an example of how I could serve out my "go.cfm"
file when requests come in for files that I do not have *AND* at the same
time return a normal response status code like "200 OK" or a 302 redirect??
Whatever happens, I don't want to reveal to the client that anything was
"not found" so that my links are spider-able.

Thanks guys!!
Jon


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org