The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Tue Oct 11, 2011 9:30 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Oct 11, 2011 9:24 pm
Posts: 7
Hello,

tried to search through the google/forums for a 2 hours with no results..
I have just made website with Joomla 1.7 which is running on IIS7 (PHP as FastCGI).
Finally managed SEO, especially URL rewriting.

What did i do?
1) Installed "IIS URL Rewrite Module 2" x64 version on server
2) Renamed web.config.txt -> to web.config
web.config text:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAny">
<add input="{QUERY_STRING}" pattern="base64_encode[^(]*\([^)]*\)" ignoreCase="false" />
<add input="{QUERY_STRING}" pattern="(&gt;|%3C)([^s]*s)+cript.*(&lt;|%3E)" />
<add input="{QUERY_STRING}" pattern="GLOBALS(=|\[|\%[0-9A-Z]{0,2})" ignoreCase="false" />
<add input="{QUERY_STRING}" pattern="_REQUEST(=|\[|\%[0-9A-Z]{0,2})" ignoreCase="false" />
</conditions>
<action type="CustomResponse" url="index.php" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" />
</rule>
<rule name="Imported Rule 2">
<match url="(.*)" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
<add input="{URL}" pattern="^/index.php" ignoreCase="true" negate="true" />
<add input="{URL}" pattern="(/component/)" ignoreCase="false" negate="true" />
<add input="{URL}" pattern="(/[^.]*|\.(php|html?|feed|pdf|raw))$" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

3) After all i get HTTP 500 Internal server error.


Top
 Profile  
 
PostPosted: Wed Oct 12, 2011 7:52 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Mar 04, 2010 9:05 am
Posts: 9
Location: Johannesburg, South Africa
I am having the same problem. Have you managed to find a solution?


Top
 Profile  
 
PostPosted: Wed Oct 12, 2011 9:33 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Oct 11, 2011 9:24 pm
Posts: 7
Still the same. I will write if i will find. I ask you too.


Top
 Profile  
 
PostPosted: Wed Oct 12, 2011 9:35 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Oct 11, 2011 9:24 pm
Posts: 7
Also i cannot use Administration Panel. Maybe is it way to rollback this option dont enable somehow ?


Top
 Profile  
 
PostPosted: Wed Oct 12, 2011 10:00 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Mar 04, 2010 9:05 am
Posts: 9
Location: Johannesburg, South Africa
I just disabled my sefs so I can carry on with development. Will look into it and let you know


Top
 Profile  
 
PostPosted: Thu Oct 13, 2011 8:35 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Oct 11, 2011 9:24 pm
Posts: 7
How to disable sefs without joomla administration panel ?


Top
 Profile  
 
PostPosted: Thu Oct 13, 2011 8:45 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Mar 04, 2010 9:05 am
Posts: 9
Location: Johannesburg, South Africa
device wrote:
How to disable sefs without joomla administration panel ?


Open your "configuration.php" file and match these values:

public $sef = '0';
public $sef_rewrite = '0';

Save and close :)


Top
 Profile  
 
PostPosted: Thu Oct 13, 2011 9:38 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Oct 11, 2011 9:24 pm
Posts: 7
Hello, thank you for your answer but my configuration php is empty.
My configuration.php is 1 line full og NULL NULL NULL ... etc


Top
 Profile  
 
PostPosted: Thu Oct 13, 2011 12:45 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Oct 11, 2011 9:24 pm
Posts: 7
is it ok ?


Top
 Profile  
 
PostPosted: Mon Oct 17, 2011 9:30 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Oct 10, 2011 3:50 pm
Posts: 8
I hate to say this but welcome to the club. I have the same issue on Arvixe. No solution. If u find one please share


Top
 Profile  
 
PostPosted: Wed Oct 19, 2011 3:57 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Mar 04, 2010 9:05 am
Posts: 9
Location: Johannesburg, South Africa
I was running url rewrite on my server with Joomla 1.5 with no problems.
I only hit a snag with 1.7

I did find a solution. This worked for me:
http://learn.iis.net/page.aspx/527/inst ... la-on-iis/


Top
 Profile  
 
PostPosted: Wed Oct 19, 2011 4:44 am 
I've been banned!

Joined: Wed Oct 12, 2011 7:15 pm
Posts: 6
I met the error 500 when I try to update Joomla. So hard!CAD SERVICES


Top
 Profile  
 
PostPosted: Wed Oct 19, 2011 1:03 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Oct 10, 2011 3:50 pm
Posts: 8
davidla wrote:
I met the error 500 when I try to update Joomla. So hard!CAD SERVICES



I still have the same issue. My webmatrix version updated fine. But my shared host version dies


Top
 Profile  
 
PostPosted: Wed Nov 16, 2011 9:20 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Nov 16, 2011 9:15 am
Posts: 1
I had the same problem with the 500 error and messed around with it for hours. Finally disabled SEF URLs, Gzip compression and ALL Third Party extensions, and reinstalled. Voila, it works! Now it's a matter of re-enabling each extension one by one to see what caused the issue.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 



Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group