Hi everyone, and sorry if exits a post with the problem solved.

I have been trying with several solutions and I can't solve this.

I have installed in a ubuntu server 15.04 the new drupal-8.0.0-rc2.

I have done the installation with the same steps that in drupal 7 (include moving the .htcaccess file).

And the installacion is correctly and I can enter in the main page of drupal, logged with the unique user. But when I try to navigate an another part of the web, appears this error:

Not Found

The requested URL /drupal-8.0.0-rc2/admin/structure was not found on this server.
Apache/2.4.16 (Ubuntu) Server at ***.***.**.** Port 80

I have checked the file in /etc/apache2/sites-available/000-default.conf and it is correct, because the URL path is /var/www/html

The folder in my ubuntu server is: /var/www/html/drupal-8.0.0-rc2
and inside of this folder are the rest of files (index.php, core, autoload.php, sites, update.php, ...)

Thank you in advance for the help!!

Regards

Comments

Codeblind’s picture

Does your vhost conf have a directory declaration for /var/www/html with AllowOverride ALL? You need that for clean URLs to work.

Sam Moore’s picture

Just to follow up on that - try http://example.com/?q=/drupal-8.0.0-rc2/admin/structure (substitute your own hostname for example.com of course) - if that works, then your problem is definitely Clean Urls not being set up correctly.

jorge_vicente’s picture

@Sam Moore thank you!

Hi i have tried with:
http://***.***.**.***/?q=/drupal-8.0.0-rc2/admin/structure

And appears the "apache2 ubuntu default page"

Mi folder is in /var/www/html/drupal-8.0.0-rc2.
Could be that the file of apache2 config is working to /var/www/html and not the drupal folder (/var/www/html/drupal-8.0.0-rc2)?

But, I have changed the folder of the 000-default.conf and it is correct. It has to be /var/www/html for to works correctly.

Regards!

Sam Moore’s picture

How about trying this:
http://***.***.**.***/?q=/admin/structure

jorge_vicente’s picture

When I put
http://***.***.**.***/?q=/admin/structure
happens the same thing: I enter in the Apache2 Ubuntu default page.

"It works!

This is the default welcome page used to test the correct operation of the Apache2 server after installation on Ubuntu systems. It is based on the equivalent page on Debian, from which the Ubuntu Apache packaging is derived. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. You should replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server.

If you are a normal user of this web site and don't know what this page is about, this probably means that the site is currently unavailable due to maintenan........"

Regards!

jorge_vicente’s picture

@Codeblind Thank you for the help.

I understand, that you are speaking about the apache2.conf (in /etc/apache2 folder):


Options Indexes FollowSymLinks
AllowOverride None
Require all granted

I have modified the "Allowoverride None" to "AllowOverride ALL". I have saved the file. I have reset the sql and the apache2 server. And the same error continues:

"Not Found

The requested URL /drupal-8.0.0-rc2/admin/modules was not found on this server.
Apache/2.4.16 (Ubuntu) Server at ***.***.**.*** Port 80"

jorge_vicente’s picture

Testing a lot of things, I have readed the
"apache2.conf", and "000-default.conf" (from sites-available and sites-enabled) files. And the three conf. files in my server are with the folder "/var/www/html".

Regards!

jorge_vicente’s picture

Hi

Finally I have solved the problem.

I have begun from the beginning. I have used this tutorial in Youtube

https://youtu.be/7Ro3Ci3n00c

Sorry, I couldn't explain how I resolve the problem!

Regards!

egmont’s picture

Thank you very much !!! WOW, at last ! Best Regards !