Support Forums

Full Version: [ubuntu v=9.10]Apache2 errors[/ubuntu]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
help this is just one of the errors i am having with apache i dont run a server but i use it for learning php and etc. but recently i have been getting a stream of errors this is the most recent
Code:
* Starting web server apache2
Syntax error on line 1 of /etc/apache2/conf.d/apache2-doc:
Invalid command 'Alias', perhaps misspelled or defined by a module not included in the server configuration
   ...fail!
and what is on that line is this
Code:
Alias /manual /usr/share/doc/apache2-doc/manual/
any ideas would be apreciated on how to fix this error i will post any future errors i get here to
i clould really use some help because i am clue less at fixing this error
I think its trying to tell you that "Alias" is not a real command.
well what can i do to make it think it is
If you don't use Apache(its not set up as a web server) then remove it and make sure the config files are removed as well and then install it again..
i do use apache
If you can, wipe the system, then reinstall
(12-27-2009, 07:36 PM)Aristotle Wrote: [ -> ]If you can, wipe the system, then reinstall
No need to wipe the system when it's one program that's not working....

@OP, try to reinstall it.

Code:
sudo apt-get remove apache2
Should remove it.

Code:
sudo apt-get install apache2
Should install it.

From there, just reinstall it. If the problem persists, try commenting out that line (usually done with a '#')
Here is me thinking it was a simple error in the /etc/httpd/conf/httpd.conf file?
Althought a reinstall as Farout stated would be an easy option.
do what wat suggested...
what is the update btw?
is it fixxed or....?
Pages: 1 2