Giter Site home page Giter Site logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
I have this same problem on a fresh Ubuntu 14.04.1 install.  I thought it might 
be because "elsa" Apache config file did not end with ".conf", so I renamed it. 
 Now Apache thinks it is a valid site, but when I try to reload it I get a 
bunch of errors.

tristanrhodes@elsa:/etc/apache2/sites-enabled$ sudo a2ensite elsa
ERROR: Site elsa does not exist!

tristanrhodes@elsa:/etc/apache2/sites-available$ ll
total 24
drwxr-xr-x 2 root root 4096 Nov 25 21:04 ./
drwxr-xr-x 8 root root 4096 Nov 25 21:04 ../
-rw-r--r-- 1 root root 1332 Jan  7  2014 000-default.conf
-rw-r--r-- 1 root root 6437 Jan  7  2014 default-ssl.conf
-rw-r--r-- 1 root root  812 Nov 25 21:04 elsa

tristanrhodes@elsa:/etc/apache2/sites-available$ sudo mv elsa elsa.conf
tristanrhodes@elsa:/etc/apache2/sites-available$ ll
total 24
drwxr-xr-x 2 root root 4096 Nov 25 21:08 ./
drwxr-xr-x 8 root root 4096 Nov 25 21:04 ../
-rw-r--r-- 1 root root 1332 Jan  7  2014 000-default.conf
-rw-r--r-- 1 root root 6437 Jan  7  2014 default-ssl.conf
-rw-r--r-- 1 root root  812 Nov 25 21:04 elsa.conf
tristanrhodes@elsa:/etc/apache2/sites-available$ sudo a2ensite elsa
Enabling site elsa.
To activate the new configuration, you need to run:
  service apache2 reload
tristanrhodes@elsa:/etc/apache2/sites-available$ sudo service apache2 reload
 * Reloading web server apache2                                                                                                                                                                                                               *
 * The apache2 configtest failed. Not doing anything.
Output of config test was:
AH00548: NameVirtualHost has no effect and will be removed in the next release 
/etc/apache2/sites-enabled/elsa.conf:7
AH00526: Syntax error on line 21 of /etc/apache2/sites-enabled/elsa.conf:
Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not 
included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.

Original comment by [email protected] on 25 Nov 2014 at 9:33

  • Added labels: ****
  • Removed labels: ****

from enterprise-log-search-and-archive.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
I have exactly the same issue on a fresh Ubuntu 14.04.1 
Tried to mess around with the .conf file, but cannot get it to work. 

Original comment by [email protected] on 2 Dec 2014 at 12:52

  • Added labels: ****
  • Removed labels: ****

from enterprise-log-search-and-archive.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Hi,
This can be solved by enabling the Rewrite module 

ln -s /etc/apache2/mods-available/rewrite.load 
/etc/apache2/mods-enabled/rewrite.load

Original comment by [email protected] on 8 Mar 2015 at 7:54

  • Added labels: ****
  • Removed labels: ****

from enterprise-log-search-and-archive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.