Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 22

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

Go Back   Mambers.com > Archive > Mambo 4.5 > Mambo 4.5 Installation and Upgrades

 
 
LinkBack Thread Tools Display Modes
Old 11.12.2004, 17:41   #1 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 10
trialsoft is on a distinguished road
Default SEF urls SEF 404 on Windows machine htaccess .htaccess

Download apache2triad http://sourceforge.net/projects/apache2triad/

Install mambo by unzipping a mambo installation into c:\apache2triad\htdocs

Verify the mambo installation was a success by going to:
http://localhost/mambo

Now open C:\apache2triad\conf\httd.conf

uncomment the line by removing the # character
PHP Code:
LoadModule rewrite_module modules/mod_rewrite.so 
locate the following line in httpd.conf
PHP Code:
AccessFileName .htaccess 
and change it to
PHP Code:
AccessFileName htaccess.txt 
Now open c:\apache2triad\htdocs\mambo\htaccess.txt which is already there upon installation.

Replace the contents of the file with:

PHP Code:
#
#  mod_rewrite in use
#

 
RewriteEngine On

#  Uncomment following line if your webserver's URL 
#  is not directly related to physival file paths.
#  Update YourMamboDirectory (just / for root)

  
RewriteBase /mambo

#
#  Rules
#

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteRule 
^(.*) index.php 

Log into your mambo administration panel and Enable SEF.
Test to ensure your url's are being re-written.

Install and turn on the 404 SEF component. Done.

Note: Apache2triad also installs mySQL and apache web server 2.0 It is the best way to get started with a local windows environment.
trialsoft is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 11.12.2004, 20:59   #2 (permalink)
Elite Mamber
 
twysm's Avatar
 
Join Date: Apr 2004
Location: /dev/peru/lima
Posts: 1,008
twysm can only hope to improve
Send a message via ICQ to twysm Send a message via MSN to twysm Send a message via Yahoo to twysm
Default Re: SEF urls SEF 404 on Windows machine htaccess .htaccess

Note that 404sef ONLY works with Mambo 4.5.1.
__________________
www.ezwp.com
www.diginetperu.com
twysm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11.12.2004, 22:19   #3 (permalink)
m2k
Senior Mamber
 
m2k's Avatar
 
Join Date: Sep 2004
Posts: 221
m2k is on a distinguished road
Default Re: SEF urls SEF 404 on Windows machine htaccess .htaccess

Nice little guide, but I have a couple of recommendations just from a security stand point.

htacess.txt is not a good mime-type to use for .htaccess instead, rename it to ht.acl
Then find the mod_auth.c section of your httpd.conf and make sure it contains the directives below.
Code:
<IfModule mod_auth.c>
	AccessFileName ht.acl
	<Files ~ ".*\.acl">
	    Order allow,deny
	    Deny from all
	    Satisfy All
	</Files>
</IfModule>
m2k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
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 18:54
Wierd error using 404 SEF august Mambo 4.5.1 'How Do I' Questions 3 09.12.2004 21:53
SEF URLs with Gallery Integration LogicX Mambo 4.5 General Talk 3 14.08.2004 12:51


All times are GMT +2. The time now is 06:08.

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.