So.. Listen at this..
i uninstall the apache2 from my debian box typing :
Quote:
apt-get remove --purge apache2
|
Then i install it again typing :
When now im trying to run apache returns me this error :
Code:
Starting web server (apache2)...apache2: Could not open configuration file /etc/apache2/apache2.conf: No such file or directory
failed!
invoke-rc.d: initscript apache2, action "start" failed.
So.. i go to
Code:
/usr/share/doc/apache2.2-common/examples
and take a copy of apache2.conf into the /etc/apache2 directory.
Also the directories : sites-enabled ,sites-available, conf.d .. are empty.
Running now the apache i just take back this :
Code:
server:/etc/apache2# /etc/init.d/apache2 start
Starting web server (apache2)... failed!
How can i install back the defaults files in the above directories? (sites-enabled ,sites-available, conf.d)
Think to install apache2.2-common but it is already in :
Code:
server:/etc/apache.old/apache2/conf.d# apt-get install apache2.2-common
Reading package lists... Done
Building dependency tree... Done
apache2.2-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
Please!!! Any Idea ?? I must make apache work... :-(
Thanks in advance!!