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

Problems with the Windows version of XAMPP, questions, comments, and anything related.

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

Postby bellatrix » 25. October 2015 15:29

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)
Last edited by bellatrix on 25. October 2015 19:30, edited 1 time in total.
User avatar
bellatrix
 
Posts: 3
Joined: 25. October 2015 15:21
Operating System: Windows 7

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

Postby Nobbie » 25. October 2015 18:15

Ask in a Joomla Forum, if you have a problem with Joomla. I dont know Joomla and this is not a Joomla Forum.
Nobbie
 
Posts: 8778
Joined: 09. March 2008 13:04

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

Postby Altrea » 25. October 2015 18:19

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?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8297
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

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

Postby bellatrix » 25. October 2015 19:15

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
Last edited by bellatrix on 25. October 2015 19:29, edited 1 time in total.
User avatar
bellatrix
 
Posts: 3
Joined: 25. October 2015 15:21
Operating System: Windows 7

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

Postby Altrea » 25. October 2015 19:23

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8297
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

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

Postby bellatrix » 25. October 2015 19:30

Solved!
Incompatibility with the Directive ExpiresActive On

Thanks for the recommendations and I hope to be useful to someone.
User avatar
bellatrix
 
Posts: 3
Joined: 25. October 2015 15:21
Operating System: Windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 55 guests