Reputation: 5133
I have installed a website made with joomla on a new linux CentOS6 server. I have installed and configured Apache Installed and Configure PHP Installed and configured MySQL Installed PhpMyAdmin Installed and Configured FTP Set the firewall rules
Everything is working right, except the single article pages:
if I try to access to the following URL I get 404: http://ldgsocial.brainsen.com/index.php/test that it's a page configured as "single article", pointing to a published article. The article is not even accessible typing the real URL: http://ldgsocial.brainsen.com/index.php?option=com_content&view=article&id=110
in the .htaccess I have the following directives:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /var/www/sites/clientname/sitename.it
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule .* index.php [F]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
I've tried also putting: RewriteBase /var/www/sites/clientname/sitename.it/public_html and RewriteBase / but nothing to do.
The articles are accessible only if I create a new menu voice with type Category List. From there all the articles are accessible and correctly displayed.
I'm pretty desperate as I don't know what to do next...
here is the installation details:
database Version 5.1.69
Collation database utf8_general_ci
PHP Version 5.3.3
Web Server Apache/2.2.15 (CentOS)
Joomla! Version Joomla! 2.5.14 Stable [ Ember ] 01-August-2013 14:00 GMT
Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
Upvotes: 0
Views: 2138
Reputation: 5133
jdog, thanks, you have given me the input!
The problem was on the server system date, that was wrong and set to the past. So the articles was published, because was set on a different server, but on the new server, they were not shown as they publishing date was future to the system date..
Upvotes: 1