----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi!

each time I try to access a servlet on my virtual host, I get:

Forbidden

You don't have permission to access /servlet/xxx on this server.

I have Jserv 1.1.1, Apache 1.3.12, Sun's JDK 1.2.2.

The mod_rewrite engine is on for the base server. and this is my httpd.conf
configuration related to jserv (I combined mod_jserv.conf into httpd.conf):

LoadModule jserv_module /usr/local/apache/libexec/mod_jserv.so

<IfModule mod_jserv.c>
        ApJServManual off
        ApJServProperties /usr/local/apache/conf/jserv/jserv.properties
        ApJServLogFile /usr/local/apache/logs/mod_jserv.log
        ApJServLogLevel notice
        ApJServDefaultProtocol ajpv12
        ApJServDefaultPort 8007
        ApJServSecretKey DISABLED
        ApJServMountCopy off

        <Location /jserv/>
                SetHandler jserv-status
                order deny,allow
                deny from all
                allow from all
        </Location>

</IfModule>

Here's my virtual host configuration:

<VirtualHost 000.000.000.000>

    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /home/fusion3/xxxx.com
    ServerName fusion3-old.neuro6.com
    ErrorLog /home/fusion3/log/xxxx.error.log
    DirectoryIndex index.xml index.html index.htm

        <Location />
                AllowOverride None
                AuthName "Fusion3 Dev"
                AuthType Basic
                AuthUserFile "/etc/.htpasswd"
                #For all users would be: require valid-user
                require user fusion3
        </Location>


        <Directory "/home/fusion3/xxxx.com">
            AllowOverride None
            Order allow,deny
            Allow from all
        </Directory>



        # Jserv
        <IfModule mod_jserv.c>
                ApJServLogFile /home/fusion3/log/xxxx.com.jserv.log
                ApJServLogLevel info
                ApJServDefaultProtocol ajpv12
                ApJServDefaultHost localhost
                ApJServDefaultPort 8007
                ApJServSecretKey DISABLED
                ApJServMount /servlet /fusion3-old
                ApJServMountCopy off
                ApJServAction .xml /servlet/org.apache.cocoon.Cocoon
        </IfModule>


</VirtualHost>


That's what i get in the log:


[Sat Jul  1 14:33:31 2000] [error] [client 24.201.218.201] (2)No such file
or directory: cannot read directory for multi: /servlet/


What did I do wrong?

thanks

vincent



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to