Members: 16,996
Threads: 38,868
Posts: 159,480
Online: 55

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 17.02.2005, 15:42   #1 (permalink)
ufo
Senior Mamber
 
ufo's Avatar
 
Join Date: May 2004
Location: Romania
Posts: 180
ufo is an unknown quantity at this point
RedCross SEF urls without mod_rewrite!

By doing a search on the web I've found on "nukecops" forum the following solution in a post:
PHP Code:
i think i've found a rather simple way to avoid the mod_rewrite ability in order to use SEF urls

1. Enable SEF in mambo configuration
2. do NOT rename the htaccess.txt
3. open /includes/sef.php and change this line: (~ line 217)
return $mosConfig_live_site."/".$string;
to
return $mosConfig_live_site."/index.php/".$string;

this will enable SEF urls to work without mod_rewrite at all..
and create urls like this:
http://www.tim-online.nl/index.php/content/view/9/34/
http://www.tim-online.nl/index.php/content/view/10/35/
http://www.tim-online.nl/index.php/component/option,com_docman/Itemid,78/ 
By visiting tim-online I found that the url was looking enough search friendly so I've decided to test it on my site. Surprise, it worked!
I've made a search here on mambers to find that someone post something like that and I found nothing.
That's why I decided to post it.
Did it worked on your site?

Feedback please!
__________________
Dont'use excessive force, pick a bigger hammer!
Supported by buyhttp.com
Where free means FREE!: Codename-Web HQ

Last edited by ufo; 17.02.2005 at 15:59. Reason: Typo, addition
ufo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 18.02.2005, 09:08   #2 (permalink)
ufo
Senior Mamber
 
ufo's Avatar
 
Join Date: May 2004
Location: Romania
Posts: 180
ufo is an unknown quantity at this point
Default Re: SEF urls without mod_rewrite

Did anyone test it?
Did it work on your site also?
No feedback?
__________________
Dont'use excessive force, pick a bigger hammer!
Supported by buyhttp.com
Where free means FREE!: Codename-Web HQ
ufo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 18.02.2005, 09:24   #3 (permalink)
Senior Mamber
 
Alikon's Avatar
 
Join Date: Apr 2004
Location: roma
Posts: 171
Alikon is on a distinguished road
Default Re: SEF urls without mod_rewrite

Hi,
i've tested on my PC in windows but some problems:
it seems that all links have to be reformatted for work.


an example

PHP Code:
$fullpath ='components/com_moslookup/images/';    
$infofile=$fullpath.'rnd'.$cosa[$l];
        
$file fopen($infofile"w"); 
don't work as is

another example with javascript:

PHP Code:
$ritorna=$HTTP_SERVER_VARS["HTTP_REFERER"];
?>
<script language="javascript">

window.location.href="<?echo $ritorna.'&op=show&speed='.$speed?>";

in my opinion every url must be changed to work ...

Any suggestion...
Alikon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 18.02.2005, 09:41   #4 (permalink)
ufo
Senior Mamber
 
ufo's Avatar
 
Join Date: May 2004
Location: Romania
Posts: 180
ufo is an unknown quantity at this point
Default Re: SEF urls without mod_rewrite

I don't know but it seems to be working in Firefox, by using IE I got a page not found after a login maybe it has a problem with that. Now I reversed the modification to check if it's something wrong with IE.
I'm a totally newcomer (learning stage ) in coding so I cannot say anything.
I've tested it on a Linux server (in fact on my homepage), I will test it on a win and see if it works.

I've found more info here:
http://forum.mamboserver.com/showthr...ef+mod+rewrite

I'll go check.
__________________
Dont'use excessive force, pick a bigger hammer!
Supported by buyhttp.com
Where free means FREE!: Codename-Web HQ

Last edited by ufo; 18.02.2005 at 09:51. Reason: More info found...
ufo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SEF urls, the right way (I think) gregmac Mambo 4.5.1 General Talk 152 24.01.2005 17:54
SEF urls SEF 404 on Windows machine htaccess .htaccess trialsoft Mambo 4.5 Installation and Upgrades 2 11.12.2004 21:19
SEF URLs indirizzo coerente ai contenuti Gixina Problematiche generali 0 10.11.2004 17:24
SEF URLs with Gallery Integration LogicX Mambo 4.5 General Talk 3 14.08.2004 11:51
SEF URL's and Mysql Starfish Mambo 4.5 'How Do I' Questions 1 15.05.2004 03:22


All times are GMT +2. The time now is 19:37.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.