• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

404 Error accessing x.x.x.x/dban/about.txt

Scheduled Pinned Locked Moved
General Problems
4
9
1.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    AlSam
    last edited by Aug 17, 2017, 7:08 PM

    I am running version 1.4.4 SVN Revision: 6077 and am having trouble with the instructions provided here. After following the procedure, I get a 404 error when trying to access the dban folder via the browser. Also tried mouting like this:

    mount -t iso9660 -o loop,uid=www-data,gid=www-data /iso/dban.iso /var/www/dban
    

    Can anyone help?

    1 Reply Last reply Reply Quote 0
    • T
      THEMCV
      last edited by Aug 17, 2017, 7:15 PM

      I had this issue not long ago. Try this!

      a2ensite 000-default
      service apache restart
      mkdir /var/www/dban
      mount -t iso9660 -o loop /iso/dban.iso /var/www/dban
      
      1 Reply Last reply Reply Quote 1
      • T
        THEMCV
        last edited by Aug 17, 2017, 7:21 PM

        Here is my thread if you’re interested!

        https://forums.fogproject.org/topic/10613/403-forbidden-error-when-trying-to-access-x-x-x-x-dban/4

        1 Reply Last reply Reply Quote 0
        • A
          AlSam
          last edited by Aug 17, 2017, 9:24 PM

          Thanks. Tried it, but no luck. Still getting 404 Not Found error.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Sebastian Roth Aug 17, 2017, 10:50 PM Aug 18, 2017, 4:50 AM

            @AlSam Please check the apache error log for messages. See my signature on where to find those. As well you might post the contents of /etc/apache/sites-enabled/000-default here.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • A
              AlSam
              last edited by AlSam Aug 18, 2017, 6:16 AM Aug 18, 2017, 12:15 PM

              @sebastian-roth Here is the output for both error.log and 000-default.conf

              user@fogserver:/var/log/apache2$ cat error.log
              [Thu Aug 17 11:35:51.641488 2017] [mpm_event:notice] [pid 2410:tid 139953129904000] AH00489: Apache/2.4.27 (Ubuntu) configured -- resuming normal operations
              [Thu Aug 17 11:35:51.641643 2017] [core:notice] [pid 2410:tid 139953129904000] AH00094: Command line: '/usr/sbin/apache2'
              [Thu Aug 17 11:38:29.056297 2017] [mpm_event:notice] [pid 2410:tid 139953129904000] AH00491: caught SIGTERM, shutting down
              [Thu Aug 17 11:38:30.136292 2017] [mpm_prefork:notice] [pid 15042] AH00163: Apache/2.4.27 (Ubuntu) configured -- resuming normal operations
              [Thu Aug 17 11:38:30.136341 2017] [core:notice] [pid 15042] AH00094: Command line: '/usr/sbin/apache2'
              [Thu Aug 17 11:38:31.469636 2017] [mpm_prefork:notice] [pid 15042] AH00169: caught SIGTERM, shutting down
              [Thu Aug 17 11:38:32.622756 2017] [mpm_prefork:notice] [pid 15120] AH00163: Apache/2.4.27 (Ubuntu) configured -- resuming normal operations
              [Thu Aug 17 11:38:32.622774 2017] [core:notice] [pid 15120] AH00094: Command line: '/usr/sbin/apache2'
              [Thu Aug 17 11:41:32.767524 2017] [mpm_prefork:notice] [pid 15120] AH00169: caught SIGTERM, shutting down
              [Thu Aug 17 11:42:01.438404 2017] [mpm_prefork:notice] [pid 2464] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.1.0f configured -- resuming normal operations
              [Thu Aug 17 11:42:01.438498 2017] [core:notice] [pid 2464] AH00094: Command line: '/usr/sbin/apache2'
              [Thu Aug 17 12:47:56.650295 2017] [mpm_prefork:notice] [pid 2464] AH00169: caught SIGTERM, shutting down
              [Thu Aug 17 12:47:57.699805 2017] [mpm_prefork:notice] [pid 9398] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.1.0f configured -- resuming normal operations
              [Thu Aug 17 12:47:57.699906 2017] [core:notice] [pid 9398] AH00094: Command line: '/usr/sbin/apache2'
              [Thu Aug 17 13:30:27.308308 2017] [mpm_prefork:notice] [pid 9398] AH00169: caught SIGTERM, shutting down
              [Thu Aug 17 13:30:28.099826 2017] [mpm_prefork:notice] [pid 12355] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.1.0f configured -- resuming normal operations
              [Thu Aug 17 13:30:28.099922 2017] [core:notice] [pid 12355] AH00094: Command line: '/usr/sbin/apache2'
              [Thu Aug 17 13:31:52.894967 2017] [mpm_prefork:notice] [pid 12355] AH00169: caught SIGTERM, shutting down
              [Thu Aug 17 13:31:53.943244 2017] [mpm_prefork:notice] [pid 12484] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.1.0f configured -- resuming normal operations
              [Thu Aug 17 13:31:53.943344 2017] [core:notice] [pid 12484] AH00094: Command line: '/usr/sbin/apache2'
              [Thu Aug 17 13:42:01.399065 2017] [mpm_prefork:notice] [pid 12484] AH00169: caught SIGTERM, shutting down
              [Thu Aug 17 13:42:02.450655 2017] [mpm_prefork:notice] [pid 13236] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.1.0f configured -- resuming normal operations
              [Thu Aug 17 13:42:02.450741 2017] [core:notice] [pid 13236] AH00094: Command line: '/usr/sbin/apache2'
              [Thu Aug 17 14:38:07.578743 2017] [mpm_prefork:notice] [pid 13236] AH00169: caught SIGTERM, shutting down
              [Thu Aug 17 14:38:08.609888 2017] [mpm_prefork:notice] [pid 16725] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.1.0f configured -- resuming normal operations
              [Thu Aug 17 14:38:08.609990 2017] [core:notice] [pid 16725] AH00094: Command line: '/usr/sbin/apache2'
              [Thu Aug 17 14:44:33.647688 2017] [mpm_prefork:notice] [pid 16725] AH00169: caught SIGTERM, shutting down
              [Thu Aug 17 14:44:34.719721 2017] [mpm_prefork:notice] [pid 17304] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.1.0f configured -- resuming normal operations
              [Thu Aug 17 14:44:34.719820 2017] [core:notice] [pid 17304] AH00094: Command line: '/usr/sbin/apache2'
              [Thu Aug 17 17:21:20.937504 2017] [mpm_prefork:notice] [pid 17304] AH00169: caught SIGTERM, shutting down
              [Thu Aug 17 17:21:22.039081 2017] [mpm_prefork:notice] [pid 26671] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.1.0f configured -- resuming normal operations
              [Thu Aug 17 17:21:22.039166 2017] [core:notice] [pid 26671] AH00094: Command line: '/usr/sbin/apache2'
              
              user@fogserver:/etc/apache2/sites-enabled$ cat 000-default.conf
              <VirtualHost *:80>
                      # The ServerName directive sets the request scheme, hostname and port that
                      # the server uses to identify itself. This is used when creating
                      # redirection URLs. In the context of virtual hosts, the ServerName
                      # specifies what hostname must appear in the request's Host: header to
                      # match this virtual host. For the default virtual host (this file) this
                      # value is not decisive as it is used as a last resort host regardless.
                      # However, you must set it for any further virtual host explicitly.
                      #ServerName www.example.com
              
                      ServerAdmin webmaster@localhost
                      DocumentRoot /var/www/html
              
                      # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
                      # error, crit, alert, emerg.
                      # It is also possible to configure the loglevel for particular
                      # modules, e.g.
                      #LogLevel info ssl:warn
              
                      ErrorLog ${APACHE_LOG_DIR}/error.log
                      CustomLog ${APACHE_LOG_DIR}/access.log combined
              
                      # For most configuration files from conf-available/, which are
                      # enabled or disabled at a global level, it is possible to
                      # include a line for only one particular virtual host. For example the
                      # following line enables the CGI configuration for this host only
                      # after it has been globally disabled with "a2disconf".
                      #Include conf-available/serve-cgi-bin.conf
              </VirtualHost>
              
              # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
              
              1 Reply Last reply Reply Quote 0
              • C
                cml Moderator
                last edited by Aug 18, 2017, 3:16 PM

                To continue on with @THEMCV 's solution.

                Either change the following in 000-default.conf
                DocumentRoot /var/www/html to DocumentRoot /var/www

                or the block @THEMCV posted would change to:

                a2ensite 000-default
                service apache restart
                mkdir /var/www/html/dban
                mount -t iso9660 -o loop /iso/dban.iso /var/www/html/dban```
                A 1 Reply Last reply Aug 19, 2017, 1:46 PM Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Aug 18, 2017, 3:24 PM

                  @cml I don’t have access to my test system right now but if I remember correctly current FOG versions will trap you with redirecting requests if you try serving files in /var/www/html… Let me check when I get home.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • A
                    AlSam @cml
                    last edited by Aug 19, 2017, 1:46 PM

                    @cml Changing DocumentRoot did not help but changing the folder from which the content is served, did. Thanks.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    1 / 1
                    • First post
                      5/9
                      Last post

                    149

                    Online

                    12.1k

                    Users

                    17.3k

                    Topics

                    155.4k

                    Posts
                    Copyright © 2012-2024 FOG Project