Hi,
So ok, I decided to upgrade to Ubuntu 11.04 from MearKat and 11.04 trashes my localhost projects - any resolve as I don't want to really start all over again as I've spent a good 20 hours plus on my work.
My SQL DB's are still there but all the internal links both front and backend show to good old:

"Not Found
The requested URL /project01/admin/modules was not found on this server.
Apache/2.2.17 (Ubuntu) Server at localhost Port 80"

I'm a newbie with so much to learn FAST, HELP!
Me thinks it's an Apache over writing my old Apache setup?

I would like to resolve the problem, can anyone give any quick fixes for me??

"If it ain't broke don't fix it" rules here but I had faith in the 11.04 upgrade so went forward. Usually I wait at least 6 weeks before doing so.

PB

Comments

paulbuk’s picture

I'm looking for a quick fix reslove to get all my D7 sites running again on localhost, I could probably work it out in a few hours, but someone MUST know the quick fix for this type of hassle.
Don't want to go 're-install' fresh D7's 5 times! ( I do have SQL backups and still have all my local D7 site DIRs intact with all modules used etc, but dont' really want to do a RE-INSTALL!
Still that knowledge would be another 'string' to my bow and on my CV I suppose (:
Cheers,

PB
Ex- M$ FE IT Lecturer! (ha).

paulbuk’s picture

The error stems from the DEFAULT file in "Sites-Available" in Apache2 DIR in ETC dir, ie: AllowOverride All and NOT none.
If like me you are running a Linux platform and you have re-installed Ubuntu 11.04, suggest you open the Default Apache file in a text editor, then cut and paste the below into file naming it "default" then save.
This resolved all my virtual sites to normal, pre-upgrade.

Default file should read:


ServerAdmin webmaster@localhost

DocumentRoot /var/www

Options FollowSymLinks
AllowOverride All


Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined

Alias /doc/ "/usr/share/doc/"

Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128

--------ends.

Hope that helps any peeps in future who may have a similar issue.
Paul B

Amended: 28/10/12