httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saqib.N....@seagate.com
Subject Re: Transfering jsp pages via WebDAV cuts away java code
Date Wed, 24 Jul 2002 15:43:34 GMT

Hi Volker,
That is right. The webserver will send the processed jsp output, and not
the actual jsp code.

To accomplish what you want to do, you will have to create a VirtualHost
(let's say on port 85), and set the type to text/plain, using the following
directive:

 ForceType text/plain

Virtual Host e.g.


    <VirtualHost 129.219.64.34:85>
    DocumentRoot /usr/local/apache/htdocs/
    <Directory /usr/local/apache/htdocs/>
    DAV On
   </Directory>
    ForceType text/plain
    </VirtualHost>

Offcourse you will have to start listening on port 85 as well, so add the
following line to the httpd.conf as well

Listen 129.219.64.34:85

In Peace,
Saqib Ali

<!---------- Begin signature ------->
Rid yourself of all thoughts!
Think of the One who created thought.
<!---------- End signature ------->


                                                                                         
                         
                    "Volker                                                              
                         
                    Schmidt"             To:     <users@httpd.apache.org>          
                               
                    <snugels@web.        cc:                                          
                            
                    de>                  Subject:     Transfering jsp pages via WebDAV
cuts away java code         
                    Sent by:                                                             
                         
                    snugels@web.d                                                        
                         
                    e                                                                    
                         
                    No Phone Info                                                        
                         
                    Available                                                            
                         
                                                                                         
                         
                    07/24/2002                                                           
                         
                    03:48 AM                                                             
                         
                    Please                                                               
                         
                    respond to                                                           
                         
                    users                                                                
                         
                                                                                         
                         
                                                                                         
                         




Hi folks,

I have a problem to use the WebDAV module. If I try to download jsp pages
via the WebDAV interface, the java code is cut apart and I only get the raw
resulting html code. Has anybody an idea how this could be solved? Possibly
the system is using the standard methods (including calling the underlying
tomcat engine to gather the data, but in this cases all kinds of cgi would
not be accessible for WebDAV? Any idea would be appreciated.

Volker


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message