Re: How to pass user name and password to Apache server.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello davem,

I'd like to have a user be able to login on an asp.net 2.0 web page,
then redirect them to download some files that reside on an Apache
server. The issue I'm having is that I need to be able to pass the
user name and password entered by the user on the aspx page to the
Apache server. I see at one time would have been able to pass this
information embedded in the URL, but this method is no longer
supported by IE.

Can anyone point me in the right direction to accomplish this task?

Thanks in advance for any assistance


You could let the ASP.net app download the files from the apache server and let it forward the information to the actual user. That way th euser never has to authenticate against the Apache server, solving your problem.

Another option (which only works if both servers have the same domain e.g. files.yourcompany.com and app.yourcompany.com share the yourcompany.com domain) is to use cookies to let either server know th euser has authenticated before.

Probably the easiest way would be to copy the files over to the server running ASP.Net and forget about having the apache server at all ;)
--
Jesse Houwing
jesse.houwing at sogeti.nl


.



Relevant Pages

  • File Corruption
    ... I originally posted this question to the Apache list and was strongly ... This server is dedicated to hosting files for download through http ... I googled and searched the lists but have only found tips regarding speeding ...
    (freebsd-questions)
  • Re: apache question
    ... # Based upon the NCSA server configuration files originally by Rob McCool. ... # configuration directives that give the server its instructions. ... Directives that control the operation of the Apache server process as ...
    (alt.php)
  • Re: Apache and SSL
    ... # Based upon the NCSA server configuration files originally by Rob McCool. ... # This is the main Apache server configuration file. ... # configuration directives that give the server its instructions. ...
    (RedHat)
  • Re: Apache vs IIS
    ... Windows Server not on my Linux Server so there for I would chose IIS. ... Not that Apache is bad but ASP.NET is far easier and faster to create good web forms in. ... PHP on a IIS server is rather easy to run once you install PHP on a PC but if you only use PHP why not use Apache for Windows. ...
    (alt.php)
  • Re: HTTP servers on z/OS
    ... developed by the Apache Software Foundation. ... Also know as IHS ... "...the current IBM HTTP Server for z/OS and IHS for z/OS Powered by Apache, ...
    (bit.listserv.ibm-main)