wetinwales
July 22nd, 2009, 10:17 AM
Jaunty 9.04 AMD 64bit dual core.
Had apache2 running in jaunty for a month (only to preview website when designing IN PHP) all OK.
Sunday last, apache2 fails to show website as listed in 'sites-available'
Removed apache manually using sudo find / -name apache2 to locate everything and purge.
Used remove -purge.
Nothing allows apache2 to reinstall untill I find on http://ubuntuforums.org/showthread.php?t=813725:-
the line is :-
sudo apt-get remove --purge $(dpkg -l apache* | grep ii | awk '{print $2}') && sudo apt-get install apache2
Finally apache2 is back in Jaunty and shows the 'It Works!' page as in /var/www/index.html
I canot get apache to preview 'mysite'
I am very familiar with changing the sites-available lines to whatever website I;m working on.
I still have it on my 8.04 machine and have it on XP on another
Has something changed in Jaunty??
I know the /etc/.hosts file is different and there may be issues with IPv4 and IPv6 but am lost.
To recap:-
I can get apache2 to show 'It Works!' but it will not show my usual mod in apache2/sites-available to view my PHP site.
I have checked web file permissions and they are in place (same as set on Heron 8.04 machine
PHP5 appears to be installed.
I have crawled and crawled forums files etc etc but cannot make progress.
Can anyone guide me please?
Had apache2 running in jaunty for a month (only to preview website when designing IN PHP) all OK.
Sunday last, apache2 fails to show website as listed in 'sites-available'
Removed apache manually using sudo find / -name apache2 to locate everything and purge.
Used remove -purge.
Nothing allows apache2 to reinstall untill I find on http://ubuntuforums.org/showthread.php?t=813725:-
the line is :-
sudo apt-get remove --purge $(dpkg -l apache* | grep ii | awk '{print $2}') && sudo apt-get install apache2
Finally apache2 is back in Jaunty and shows the 'It Works!' page as in /var/www/index.html
I canot get apache to preview 'mysite'
I am very familiar with changing the sites-available lines to whatever website I;m working on.
I still have it on my 8.04 machine and have it on XP on another
Has something changed in Jaunty??
I know the /etc/.hosts file is different and there may be issues with IPv4 and IPv6 but am lost.
To recap:-
I can get apache2 to show 'It Works!' but it will not show my usual mod in apache2/sites-available to view my PHP site.
I have checked web file permissions and they are in place (same as set on Heron 8.04 machine
PHP5 appears to be installed.
I have crawled and crawled forums files etc etc but cannot make progress.
Can anyone guide me please?