Page 1 of 1

[SOLVED] Joomla 3 and XAMPP: url and SEF not work?

PostPosted: 25. October 2015 15:29
by bellatrix
Hello.
I have a problem with Joomla 3
It does not work the modrewrite also by activating on httpd.conf

Joomla does not recognize the url on submenu and returns 404.
Why?! :(

The problem is in the .htaccess file? If I do not delete it, Joomla is not working.
What is the line to be changed in this file?
I have already RewriteEngine On

Please help. There are many days that I can not solve...

(Excuse my English by google translator)

Re: Joomla 3 and XAMPP: url and SEF not work?

PostPosted: 25. October 2015 18:15
by Nobbie
Ask in a Joomla Forum, if you have a problem with Joomla. I dont know Joomla and this is not a Joomla Forum.

Re: Joomla 3 and XAMPP: url and SEF not work?

PostPosted: 25. October 2015 18:19
by Altrea
You do have a problem with URLs or rewrites, but don't tell us anything about the URLs, requests, rewrite rules, error log, access log, ...
Do you think you provided enough information for us to analyse your problem remotely?

Re: Joomla 3 and XAMPP: url and SEF not work?

PostPosted: 25. October 2015 19:15
by bellatrix
The problem is in the .htaccess file.
There is something that Xampp does not accept:

IndexIgnore *
RewriteEngine On
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]
RewriteBase /
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
RewriteRule ^page/(.+)/?$ /?cmd=$1 [NC,L]
ExpiresActive On

Re: Joomla 3 and XAMPP: url and SEF not work?

PostPosted: 25. October 2015 19:23
by Altrea
XAMPP is just a preconfigured bundle of very well known webserver programs.

bellatrix wrote:The problem is in the .htaccess file.

Okay, that is an easy one: Find this problem and solve it.

There is nothing more to say with that amount of information.

Re: Joomla 3 and XAMPP: url and SEF not work?

PostPosted: 25. October 2015 19:30
by bellatrix
Solved!
Incompatibility with the Directive ExpiresActive On

Thanks for the recommendations and I hope to be useful to someone.