Updated Ubuntu 13.04 to 13.10 Apache virtualhosts error

So yesterday i updated my server, after i booted the server it all looked good until i tested one of the websites.

My virtualhosts worked perfectly before but now the sites are no longer working.

First i got the error that the folder "/etc/apache2/conf.d/" dont exist and "LockFile" dont exist.

So i created the directory and "sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf" that fixed the first problem.

The second one i just "# LockFile" out

But the sites did still not work so then i tried the a2ensite and a2dissite commands claim "site xxxxxx does not exists" even the files are in sites-aviable and were in sites-enabled I tried to remove them from sites-enabled and then enable them again, but still apache claims they would not exists.

Then i found this so ~~[http://lyemium.com/content/virtual-host-issues-when-upgrading-apache-22-24" target="_blank">](http://lyemium.com/content/virtual-host … ache-22-24">http://lyemium.com/content/virtual-host-issues-when-upgrading-apache-22-24](

So now i can make that work. But the sites still dont work.

Now i get : Forbidden

You don't have permission to access / on this server.

Apache/2.4.6 (Ubuntu) Server at http://www.xxx.com Port 80

Update 1 :

By adding this to the "/etc/apache2/sites-available" files thats now called "website.com.conf"

Order allow,deny

Allow from all

Require all granted

I get that to work.

But now the PHP is not working!

Again i have already reinstalled all PHP ++ but still nothing!

2 Replies

I have the exact same problem, and am still looking for a solution. Glad I'm not the only one. I've posted it here.

http://stackoverflow.com/questions/1948 … untu-13-10">http://stackoverflow.com/questions/19481660/403-error-on-apache-for-a-laravel-project-after-upgrade-to-ubuntu-13-10

I setup a new server outside linode and moved all client data, it was quicker then trying to fix it!

But thanks i will look at what you came up with and see if i can fix my linode.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct