|
Posted by Michael Vilain on August 10, 2007, 9:18 pm
Please log in for more thread options
> Hello,
>
> I am trying to write a program that will display all the file in a
> given directory in UNIX; on a web page. I configured the APACHE on the
> UNIX machine and I can access my default page, index.html.
>
> the problem is that I put the following line in the html:
> <html>
> <head>
> </head>
> <body>
> <a href="/files/myOutput.xls">Download myOutput.xls Now! (100kb
> ZIP)</a>
> </body>
> </html>
>
> I get the currect display, but when I click the link, the file doesn't
> open and instead I get the message:
> ******************************************************************************
> ************************************************
> Internal Server Error
> The server encountered an internal error or misconfiguration and was
> unable to complete your request.
>
> Please contact the server administrator, lior.lew@cingular.com and
> inform them of the time the error occurred, and anything you might
> have done that may have caused the error.
>
> More information about this error may be available in the server error
> log.
>
> Additionally, a 403 Forbidden error was encountered while trying to
> use an ErrorDocument to handle the request.
> ******************************************************************************
> *************************************************
>
> in my configuration file I have the following:
> <Directory "/home/ll3409/web/files/">
> AddType application/vnd.excel xls (also tried ms-excel)
> </Directory>
>
> could someone please tell me what am I doing wrong?
>
> Thanks,
> Lior
What's in the web server error logs? Usually they give the reason why
there's an error.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
|