Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-246

Httpd windows: welcome.conf file contains errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • JWS 3.0.2 DR2
    • JWS 3.0.2 DR1
    • httpd
    • None

      When the httpd.conf file from JWS-3.0.2-DR1 is passed to httpd, this exception raises:

      >httpd -k install -f "C:\Program Files\jws-3.0\etc\httpd\conf\httpd.conf"
      Installing the Apache2.4 service
      The Apache2.4 service is successfully installed.
      Testing httpd.conf....
      Errors reported here must be corrected before the service can be started.
      AH00526: Syntax error on line 12 of C:/Program Files/jws-3.0/etc/httpd/conf.d/welcome.conf:
      Multiple <Directory> arguments not (yet) supported.
      

      The welcome.conf contains after postinstall:

      # 
      # This configuration file enables the default "Welcome"
      # page if there is no default index page present for
      # the root URL.  To disable the Welcome page, comment
      # out all the lines below.
      #
      <LocationMatch "^/+$">
          Options -Indexes
          ErrorDocument 403 /.noindex.html
      </LocationMatch>
      
      <Directory C:/Program Files/jws-3.0/var/www/noindex>
          AllowOverride None
          Require all granted
      </Directory>
      
      Alias /.noindex.html C:/Program Files/jws-3.0/var/www/noindex/index.html
      

              rhn-engineering-mturk Mladen Turk
              fgoldefu@redhat.com Filip Goldefus (Inactive)
              Bogdan Sikora Bogdan Sikora (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: