Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

mod_rewrite on AppServ

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  mod_rewrite example?  
Author Message
Raistlin Majere

External


Since: Jan 18, 2008
Posts: 2



(Msg. 1) Posted: Fri Jan 18, 2008 10:39 pm
Post subject: mod_rewrite on AppServ
Archived from groups: alt>apache>configuration (more info?)

I am using:

AppServ 2.5.9

(Apache 2.2.4
PHP 5.2.3
MySQL 5.0.45
phpMyAdmin-2.10.2)

CakePHP 1.1.19.6305

I need to configure Apache to use pretty URLs like:

www.example.com/controllername/actionname/param

The CakePHP manual says:

"Make sure that an .htaccess override is allowed: in your httpd.conf,
you should have a section that defines a section for each Directory on
your server. Make sure the AllowOverride is set to All for the correct
Directory."

Where is that section? How do I set AllowOverride to All?

"Make sure you are loading up mod_rewrite correctly! You should see
something like LoadModule rewrite_module libexec/httpd/mod_rewrite.so
and AddModule mod_rewrite.c in your httpd.conf."

I searched for "libexec/httpd/mod_rewrite.so" and it is not in
httpd.conf.

I searched for "AddModule mod_rewrite.c" and it is notin httpd.conf.

What should I do?

 >> Stay informed about: mod_rewrite on AppServ 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2994



(Msg. 2) Posted: Sat Jan 19, 2008 5:07 am
Post subject: Re: mod_rewrite on AppServ [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived

 >> Stay informed about: mod_rewrite on AppServ 
Back to top
Login to vote
Raistlin Majere

External


Since: Jan 18, 2008
Posts: 2



(Msg. 3) Posted: Mon Jan 28, 2008 1:09 pm
Post subject: Re: mod_rewrite on AppServ [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jan 19, 3:39 am, Raistlin Majere <pedbe....DeleteThis@gmail.com> wrote:
> I am using:
>
> AppServ 2.5.9
>
> (Apache 2.2.4
> PHP 5.2.3
> MySQL 5.0.45
> phpMyAdmin-2.10.2)
>
> CakePHP 1.1.19.6305
>
> I need to configure Apache to use pretty URLs like:
>
> www.example.com/controllername/actionname/param
>
> The CakePHP manual says:
>
> "Make sure that an .htaccess override is allowed: in your httpd.conf,
> you should have a section that defines a section for each Directory on
> your server. Make sure the AllowOverride is set to All for the correct
> Directory."
>
> Where is that section? How do I set AllowOverride to All?
>
> "Make sure you are loading upmod_rewritecorrectly! You should see
> something like LoadModule rewrite_module libexec/httpd/mod_rewrite.so
> and AddModulemod_rewrite.c in your httpd.conf."
>
> I searched for "libexec/httpd/mod_rewrite.so" and it is not in
> httpd.conf.
>
> I searched for "AddModulemod_rewrite.c" and it is notin httpd.conf.
>
> What should I do?

Sharing the solution...

It was to uncomment "LoadModule rewrite_module modules/mod_rewrite.so"
and replace "Allow Override None" with "Allow Override All".
 >> Stay informed about: mod_rewrite on AppServ 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
mod_rewrite example? - I've been looking through the mod_rewrite info from here: http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule I still dont understand how to make something like the following: www.blah.com/aaa/bbb/ccc.xxx Get rewritten to say:..

mod_rewrite directory - Hi, I am using mod_rewrite to re-direct all requests to a directory to a .php script using a set of commands similar to: RewriteEngine on RewriteRule !\.(gif|jpg|png|css)$ ../some_dir/handler.php [T=application/x-httpd-php] These reside within a..

Mod_rewrite Problems - Hey All, I am running a Fedora Core 3 server, with Apache/2.0.53 and PHP/ 4.3.11, with each user having their own folder under the server (ie '/ home/userOne/public_html' = 'server.com/~userOne') I am trying to get the mod_rewrite module to work for me...

problems with php and mod_rewrite - When Apache starts I get the message "PHP startup: unable to load the dynamic library: 'c:\program files\php \ext\php_exif.dll' - The specified module could not be found." Also I want to enable mod_rewrite, as per cakephp manual, with the line...

Yet Another mod_rewrite SSL Question... - Hey Guys, I'm having an interesting issue with redirecting http traffic to https using mod_rewrite. First, I'll explain my setup a little bit. I'm running Apache 2.0.52 on Redhat. I basically have something that looks like this: Listen 80 Listen..
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]