0 Replies Latest reply on Jun 16, 2004 12:21 PM by juduf24

    Website deploy problem

    juduf24 Newbie

      Hi,
      I have a problem deploying websites.

      My server is running apache 1.3.28 and jboss(tomcat) 3.2.3 and i would like to set them up together so user can access my website by doing a :
      http://80.92.68.122

      I have put into jboss/default/deploy/ the .war of the website: ac.war

      In a brother : http://80.92.68.122:8080/ac/index.jsp make my website appear.
      So i figure tomcat is working fine on the default port.

      But when i do a http://80.92.68.122 apache says: You don't have permission to access / on this server

      And when i do a http://80.92.68.122/index.jsp Tomcat says: "Status report: No Context configured to process this request".

      Here is the config i made:

      httpd.conf:

      <VirtualHost 80.92.68.122>
      DocumentRoot "/usr/local/apache/htdocs"
      ServerName 80.92.68.122
      DirectoryIndex index.html index.htm index.php index.jsp
      <Directory "/usr/local/apache/htdocs">
      Options ExecCgi MultiViews FollowSymlinks
      AllowOverride none
      Order allow,deny
      Allow from all
      AddHandler cgi-script .pl .cgi

      #is it necessary?
      #<Location "/usr/local/jboss/server/default/deploy/ac/WEB-INF/">
      #AllowOverride None
      #deny from all
      #
      JKmount /*.jsp AC


      JkWorkersFile /usr/local/apache/conf/workers.properties
      JkLogFile /var/log/httpd/mod_jk.log
      JkLogLevel info
      JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
      JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories

      my workers.properties:
      worker.list= AC
      worker.AC.type=ajp13
      worker.AC.host=localhost
      worker.AC.port=8009
      worker.AC.socket_timeout=600

      jboss-service.xml:

      <!-- A AJP 1.3 Connector on port 8009 -->


      Thanks for your help

      Julien