Thanx, I understood and it works as I suppose her/him to work (I don't know if Apache is male or female :-) ). Oliver
> AXA eSolutions GmbH > AXA Konzern AG Germany > Oliver Lauer > Web Architect > W�rthstra�e 34 > D-50668 K�ln > Germany > Tel.: +49 221 148 31277 > Fax: +49 221 148 43963 > Mobil: +49 179 59 064 59 > e-Mail: [EMAIL PROTECTED] > _____________________________ > -----Urspr�ngliche Nachricht----- Von: /O=SOPRA/OU=FR-PARIS/CN=RECIPIENTS/CN=AHERITIER Im Auftrag von Arnaud H�ritier Gesendet: Donnerstag, 6. Dezember 2001 12:47 An: 'Lauer, Oliver' Cc: 'Tomcat Users List (Adresse de messagerie)' Betreff: RE: Configure md_jk in http.conf But if you added an Alias in Apache, you don't need to have your images in the Apache document root. When an alias is defined Apache will load all ressources from the directory given. With Alias /examples "C:/Programme/ApacheGroup/Tomcat4.0/webapps/examples" Apache will get all data required by /examples in the directory C:/Programme/ApacheGroup/Tomcat4.0/webapps/examples You don't need a subdirectory examples in your apache root directory. arno > -----Message d'origine----- > De: Lauer, Oliver [SMTP:[EMAIL PROTECTED]] > Date: jeudi 6 d�cembre 2001 12:39 > �: '[EMAIL PROTECTED]' > Objet: AW: Configure md_jk in http.conf > > Due to I don't have those htmls and gifs in the Apache document root...!? > > > AXA eSolutions GmbH > > AXA Konzern AG Germany > > Oliver Lauer > > Web Architect > > W�rthstra�e 34 > > D-50668 K�ln > > Germany > > Tel.: +49 221 148 31277 > > Fax: +49 221 148 43963 > > Mobil: +49 179 59 064 59 > > e-Mail: [EMAIL PROTECTED] > > _____________________________ > > > > > -----Urspr�ngliche Nachricht----- > Von: Arnaud H�ritier [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 6. Dezember 2001 12:37 > An: 'Lauer, Oliver' > Cc: 'Tomcat Users List (Adresse de messagerie)' > Betreff: RE: Configure md_jk in http.conf > > > With this configuration Tomcat shouldn't serve html and gifs . > > Why are you thinking that it is TC which is serving html and gifs and not > Apache ??? > > > -----Message d'origine----- > > De: Lauer, Oliver [SMTP:[EMAIL PROTECTED]] > > Date: jeudi 6 d�cembre 2001 12:30 > > �: '[EMAIL PROTECTED]' > > Objet: AW: Configure md_jk in http.conf > > > > But at the moment TC serves even the gifs and htmls although I've only > done > > the following and I don't understand why. I thought I've oly allowed > *.jsp > > and everthing within servlet context. > > > > > > # The following line makes apache aware of the location of the /examples > > context > > # > > Alias /examples e gifs and the htmls I do the following you've > > > posted below but want should I do if I want to let Apache serve that. > > > > > > Do I just leave the statement away and then Apache looks in its own > > document > > > root ? > > > > > > Oliver > > > > > > > AXA eSolutions GmbH > > > > AXA Konzern AG Germany > > > > Oliver Lauer > > > > Web Architect > > > > W�rthstra�e 34 > > > > D-50668 K�ln > > > > Germany > > > > Tel.: +49 221 148 31277 > > > > Fax: +49 221 148 43963 > > > > Mobil: +49 179 59 064 59 > > > > e-Mail: [EMAIL PROTECTED] > > > > _____________________________ > > > > > > > > > > > > > -----Urspr�ngliche Nachricht----- > > > Von: Arnaud H�ritier [mailto:[EMAIL PROTECTED]] > > > Gesendet: Donnerstag, 6. Dezember 2001 11:49 > > > An: 'Tomcat Users List' > > > Betreff: RE: Configure md_jk in http.conf > > > > > > > > > You should say to Apache to serve html files and images : > > > > > > JkMount /examples/*.jsp ajp13 > > > > > > Alias /examples "Path to the directory Tomcat4.0/webapps/examples" > > > <Directory "Path to the directory Tomcat4.0/webapps/examples"> > > > Options Indexes FollowSymLinks > > > </Directory> > > > > > > arno > > > > > > > -----Message d'origine----- > > > > De: Lauer, Oliver [SMTP:[EMAIL PROTECTED]] > > > > Date: mercredi 5 d�cembre 2001 18:58 > > > > �: Tomcat Users List (E-Mail) > > > > Objet: Configure md_jk in http.conf > > > > > > > > Hi all, > > > > > > > > although I've done the following in http.conf for mod_jk: > > > > > > > > JkMount /examples/*.jsp ajp13 > > > > > > > > I can even read *.html and *.gifs. > > > > > > > > Does somebody know why and what I've to do to prohibit that ? > > > > > > > > Thanx > > > > Oliver > > > > > AXA eSolutions GmbH > > > > > AXA Konzern AG Germany > > > > > Oliver Lauer > > > > > Web Architect > > > > > W�rthstra�e 34 > > > > > D-50668 K�ln > > > > > Germany > > > > > Tel.: +49 221 148 31277 > > > > > Fax: +49 221 148 43963 > > > > > Mobil: +49 179 59 064 59 > > > > > e-Mail: [EMAIL PROTECTED] > > > > > _____________________________ > > > > > > > > > # > > > > # The following line makes apache aware of the location of the > > /examples > > > > context > > > > # > > > > Alias /examples "C:/Programme/ApacheGroup/Tomcat4.0/webapps/examples" > > > > <Directory "C:/Programme/ApacheGroup/Tomcat4.0/webapps/examples"> > > > > Options Indexes FollowSymLinks > > > > </Directory> > > > > > > > > # > > > > # The following line mounts all JSP files and the /servlet/ uri to > > tomcat > > > > # > > > > #JkMount /examples/servlet/* ajp13 > > > > JkMount /examples/*.jsp ajp13 > > > > > > > > # > > > > # The following line prohibits users from directly accessing WEB-INF > > > > # > > > > <Location "/examples/WEB-INF/"> > > > > AllowOverride None > > > > deny from all > > > > </Location> > > > > # > > > > # Use Directory too. On Windows, Location doesn't work unless case > > > matches > > > > # > > > > <Directory > > > "C:/Programme/ApacheGroup/Tomcat4.0/webapps/examples/WEB-INF/"> > > > > AllowOverride None > > > > deny from all > > > > </Directory> > > > > > > > > # > > > > # The following line prohibits users from directly accessing META-INF > > > > # > > > > <Location "/examples/META-INF/"> > > > > AllowOverride None > > > > deny from all > > > > </Location> > > > > # > > > > # Use Directory too. On Windows, Location doesn't work unless case > > > matches > > > > # > > > > <Directory > > > "C:/Programme/ApacheGroup/Tomcat4.0/webapps/examples/META-INF/"> > > > > AllowOverride None > > > > deny from all > > > > </Directory> > > > > > > > > > > > > ---------------------------- > > > > Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene > > > Information nicht rechtsverbindlich. Eine rechtsverbindliche > Bestaetigung > > > > > reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. > > > Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, > > > Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser > > > E-Mail nicht gestattet ist.Diese Nachricht ist ausschliesslich fuer > den > > > bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie > nicht > > > > > der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so > > > bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu > setzen. > > > > ---------------------------- > > > > For legal and security reasons the information provided in this > e-mail > > is > > > not legally binding. Upon request we would be pleased to provide you > with > > a > > > legally binding confirmation in written form. Any form of unauthorised > > use, > > > publication, reproduction, copying or disclosure of the content of this > > > e-mail is not permitted. This message is exclusively for the person > > > addressed or their representative. If you are not the intended > recipient > > of > > > this message and its contents, please notify the sender immediately. > > > > --------------------------- > > > > > > > > > > > > > > > > -- > > > > To unsubscribe: <mailto:[EMAIL PROTECTED]> > > > > For additional commands: <mailto:[EMAIL PROTECTED]> > > > > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > > > > > > -- > > > To unsubscribe: <mailto:[EMAIL PROTECTED]> > > > For additional commands: <mailto:[EMAIL PROTECTED]> > > > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > > > > > > ---------------------------- > > > Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene > > Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung > > > reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. > > Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, > > Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser > > E-Mail nicht gestattet ist.Diese Nachricht ist ausschliesslich fuer den > > bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht > > > der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so > > bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen. > > > ---------------------------- > > > For legal and security reasons the information provided in this e-mail > is > > not legally binding. Upon request we would be pleased to provide you with > a > > legally binding confirmation in written form. Any form of unauthorised > use, > > publication, reproduction, copying or disclosure of the content of this > > e-mail is not permitted. This message is exclusively for the person > > addressed or their representative. If you are not the intended recipient > of > > this message and its contents, please notify the sender immediately. > > > --------------------------- > > > > > > > > > ---------------------------- > > Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene > Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung > reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. > Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, > Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser > E-Mail nicht gestattet ist.Diese Nachricht ist ausschliesslich fuer den > bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht > der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so > bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen. > > ---------------------------- > > For legal and security reasons the information provided in this e-mail is > not legally binding. Upon request we would be pleased to provide you with a > legally binding confirmation in written form. Any form of unauthorised use, > publication, reproduction, copying or disclosure of the content of this > e-mail is not permitted. This message is exclusively for the person > addressed or their representative. If you are not the intended recipient of > this message and its contents, please notify the sender immediately. > > --------------------------- > > > > > ---------------------------- > Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht ist ausschliesslich fuer den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen. > ---------------------------- > For legal and security reasons the information provided in this e-mail is not legally binding. Upon request we would be pleased to provide you with a legally binding confirmation in written form. Any form of unauthorised use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. This message is exclusively for the person addressed or their representative. If you are not the intended recipient of this message and its contents, please notify the sender immediately. > --------------------------- > ---------------------------- Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht ist ausschliesslich fuer den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen. ---------------------------- For legal and security reasons the information provided in this e-mail is not legally binding. Upon request we would be pleased to provide you with a legally binding confirmation in written form. Any form of unauthorised use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. This message is exclusively for the person addressed or their representative. If you are not the intended recipient of this message and its contents, please notify the sender immediately. --------------------------- -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
