phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,


mod_rewrite - Part 2: Instalasi modules in Apache

Tag: mod_rewrite, url, apache module   Category: Apache
post: 09 Oct 2007 read: 1,390


mod_rewrite tutorial: If you want to build 'fantasy' URL, You need helping from a apache's module that we called mod_rewrite. This is realy famous modules in Apache. so, I think it always ready in common installation package.

Try to look from phpinfo(). Find installed modules in your package. This is example modules from my local server:


core mod_win32 mpm_winnt http_core mod_so mod_access 
mod_actions mod_alias mod_asis mod_auth mod_autoindex 
mod_cgi mod_dir mod_env mod_imap mod_include mod_isapi 
mod_log_config mod_mime mod_negotiation mod_rewrite 
mod_setenvif mod_userdir sapi_apache2 

if you can't see it. You can activate that module. Follow this step:

1. Open your http.conf (depend on your package, may be at Apache2\conf).
2. Find this line:

#LoadModule rewrite_module modules/mod_rewrite.so
uncomment that line:

LoadModule rewrite_module modules/mod_rewrite.so
3. Save 4. Restart your apache


Series this article:
mod_rewrite - Part 1: create your "fantasy" URL
mod_rewrite - Part 2: Instalasi modules in Apache
mod_rewrite - Part 3: build your own "fantasy" URL

| Give Your Opinion | Recommend
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
digg del.icio.us technorati Ma.gnolia BlinkList

Recommended articles by other readers:
Web Services: How PHP Kiss VB.NET? (Part 1)
Chart: How to Build Cool Animation Real Time Chart
Joomla: Fast Road to Understand Component Programming
Email: Send Attachement Mail
mod_rewrite - Part 1: create your "fantasy" URL

What do You Think?
Your Name *:
Email *:
(Will not be published)
Website/URL:
Your Comment *:
* Required


615
posting