httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] Can Apache automatically popup a dialogue box before allowing access to a file?
Date Tue, 20 Jun 2006 07:13:31 GMT
> -----Original Message-----
> From: Ahn, Chang [] 
> Sent: Monday, June 19, 2006 9:55 PM
> To:
> Subject: [users@httpd] Can Apache automatically popup a 
> dialogue box before allowing access to a file?
> Can Apache automatically popup a dialogue box before allowing 
> access to a file? 

Basically, no. Popups are entirely under the control of the client (ie, the browser). 

Having said that, there a couple of things you can try:

- As Chris suggests, put the resource in a password protected realm and force a login.
- Use javascript to make a popup and then redirect to the resource onClick().

NB - the javascript "solution" only works if the client doesn't disable popups...  

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

> I know SSI will allow me to add html fragments to a HTML page 
> but I need something that will work for MS docs, PDF, and 
> other binary files.  Basically, I want my users to agree to a 
> disclaimer (or see a disclaimer header/footer) before viewing 
> a document.   When a user attempts to access a specific area 
> of my site, I want to popup some sort of dialog box asking 
> them to agree to my usage disclaimer.  I'd prefer it if 
> Apache could automatically display the dialogue box or footer 
> on any file request within a specific directory.
> - Chang 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen-
bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature.
It is not related to the exchange or business activities of the SWX Group. Le présent e-mail
est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX.
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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message