Support

Akeeba Backup for Joomla!

#39316 Backend and Front Page work after restore / But a 404 error on any connection from the Front Page.

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4.3.3
PHP version
8.0.29
Akeeba Backup version
9.6.2-pro

Latest post by Richard_Wylde on Sunday, 06 August 2023 03:53 CDT

Richard_Wylde

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 10MiB, please upload it on your server and post a link to it.

Nicholas

I do hate having to write for advice - RTFM etc..... and you have kindly helped me in the past

Deep but simple Joolma 4 WWW site,

Full patched...and working just fine - on a "Fasthost" server, somewhere

Want a backup site:

Backup to be on a local OpenSuse 15.5 server (which run my Email, DNS etc)

Your Pro Backup + Kickstart works fine....

Joomla Back-end is working, as is the (quite complex) Front Page

But a 404 error on any connection from the front page.

Though direct links to,say , a pdf work

 

Been thrashing about in the net

https://forum.joomla.org/viewtopic.php?t=832962

Nothing obvious that I can see in the Apache Logs

Switch off .htaccess

htdocs set to www.run:www etc

Nodoubt something stupid..... but what?

Richard Wylde

 

 

nicholas
Akeeba Staff
Manager

Does your server have mod_rewrite enabled in its Apache configuration? You need this, and a .htaccess file, for SEF URLs i.e. URLs  handled by Joomla which do not include index.php in them. I believe you are missing one of these two requirements.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Richard_Wylde

Nicholas

Sorry to consume you Saturday

 

a) I think I have mod_rewrite running, as phpinf.php displays below but when I try to check if mod rewrite is working via following

https://docs.joomla.org/How_to_check_if_mod_rewrite_is_enabled_on_your_server

It fails

Though attemt to enable it say it is here

.....:~ # sudo a2enmod rewrite
"rewrite" already present

 

What is a puzzle is that server root displayed by phpinfo.php

in apache2handler

is

/srv/www

not /srv/www/htdocs

and yet

DocumentRoot "/srv/www/htdocs"

is in default-server.conf (albeit deal with vitual WWW sites)

and is OK in

CONTEXT_DOCUMENT_ROOT /srv/www/htdocs

 

Can that be the cause?

 

Again, nodoubt being stupid

Richard

Attached is the .htaccess file in /htdocs

 

 

Configuration apache2handler
Apache Version Apache
Apache API Version 20120211
Server Administrator [no address given]
Hostname:Port 194.62.124.200:0
User/Group wwwrun(30)/461
Max Requests Per Child: 10000 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 60 - Keep-Alive: 15
Virtual Server No
Server Root /srv/www
Loaded Modules

core mod_so http_core prefork mod_unixd mod_systemd mod_actions mod_alias mod_auth_basic mod_authn_core mod_authn_file mod_authz_host mod_authz_groupfile mod_authz_core mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_expires mod_include mod_log_config mod_mime mod_negotiation mod_setenvif mod_ssl mod_socache_shmcb mod_userdir mod_reqtimeout mod_version mod_rewrite mod_php

 

 

 

Richard_Wylde

Nicholas

Fixed now , thank you:

.htaccess was not enabled (by default) in default-server.conf, and then tweaking was need in my .htaccess file.

Curiously a php8 Curl file need to be installed to get the "News" items to work, with a complaint that it could not talk to Facebook...... and I have nothing to do with Facebook!

Richard

 

 

 

 

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!