Results 1 to 3 of 3

Thread: Apache Problem

  1. #1
    Join Date
    Dec 2011
    Beans
    14

    Apache Problem

    I have the same problem. I'm 1 day newbie at this.

    This is what I get when I sudo /etc/init.d/apache2 restart

    gauthier cevin # sudo /etc/init.d/apache2 restart
    apache2: Syntax error on line 237 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/000-default: No such file or directory
    Action 'configtest' failed.
    The Apache error log may have more information.
    ...fail!

    Can some body give help please.

  2. #2
    Join Date
    Dec 2011
    Beans
    14

    Re: Apache2 issue

    This is what it says in my webmin:
    Failed to apply changes :
    apache2: Syntax error on line 237 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/000-default: No such file or directory Action 'configtest' failed. The Apache error log may have more information.

    Can some one direct me to how to's to set up


    Create a New Virtual Server
    Handle connections to address Those not handled by another server
    Any address
    Specific address ..
    Add name virtual server address (if needed)
    Listen on address (if needed)
    Port Default Any
    Document Root Allow access to this directory
    Server Name Automatic
    Add virtual server to file Standard httpd.conf file
    New file under virtual servers directory /etc/apache2/sites-available
    Selected file..
    Copy directives from




  3. #3
    Join Date
    Dec 2010
    Beans
    Hidden!

    Re: Apache Problem

    Posts moved to own thread in General Help.


    404
    404

    Come shoot the breeze with us on the Ubuntu Forums IRC channel - #ubuntuforums

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •