httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eoghan <apa...@redry.net>
Subject Re: [users@httpd] Is this an Apache config problem?
Date Fri, 06 May 2005 13:20:33 GMT
John Hudak wrote:
> Hi Folks:
> This one has me stumped...
> My OS is RH9 running Apache 2.0.40.  I have a one page web file, 
> index.html, located in /var/www/html,   with the following line in it:
> ...
> </FONT></P>
> This is a test...<a href="http://xx.xx.xx.xx/var/www/html/my_file.pdf" 
>  >get it here</a>
> <P align=left>
> ........
> xx.xx.xx.xx is the machines IP address...the machine is connected to a 
> router that is configured to pass http requests on port 80.
> The httpd.config file root directory is set up correctly (/var/www/html) 
> and is set to listen on my IP:port address.
> 
> The system serves up the page just fine, but when I click on the 'get it 
> here' link, I get:
> Object not found...blah, blah blah...Error 404.
> 
> I have tried various versions of the line (.i.e. ftp://, file=, etc.), 
> and multiple browsers,  with the same response. Apache is installed with 
> minimal changes to html.config.  I have check access privildges on the 
> directories and they seem fine.  Any Suggestions on how to make this work?
> Thanks for any help/suggestions...
> John

Have you tried adding pdf with AddType in your apache conf?
something like
AddType application/pdf ?
Eoghan

---------------------------------------------------------------------
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


Mime
View raw message