|
Home > Archive > Apache Server configuration support > February 2006 > how to setup LoadModules in Apache / PHP
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
how to setup LoadModules in Apache / PHP
|
|
| Sumeet Shroff 2006-01-23, 7:54 am |
| dear fellow programmers,
how r u? i hope u can help with this small but important problem...
i was trying to config mod_rewrite on my localhost Windows 2000 machine
but was not correctly working. i ran a phpinfo() on the local machine
and was getting no Loaded Modules.
i ran the same files on the Linux server machine (professionally setup)
it was working correctly. in the server machine, the phpinfo shows
Loaded Modules mod_security, mod_gzip, mod_auth_passthrough,
mod_log_bytes, mod_bwlimited, mod_php4, mod_frontpage, mod_ssl,
mod_setenvif, mod_so,
etc.....
How do i setup all the Modules in Apache on the local machine. i have
download a Windows 2000 binary files from apache.org. I have made
modification in the httpd.conf file and uncomments the following files.
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c
Is something else missing? can anyone guide me to the same?
sumeet shroff
prateeksha web services
code : 23162EF
| |
| Robert Ionescu 2006-01-23, 7:54 am |
| Sumeet Shroff wrote:
[..]
> i was trying to config mod_rewrite on my localhost Windows 2000 machine
> but was not correctly working. i ran a phpinfo() on the local machine
> and was getting no Loaded Modules.
Are you running php as module or as CGI?
> I have made
> modification in the httpd.conf file and uncomments the following files.
>
> LoadModule rewrite_module modules/mod_rewrite.so
>
> AddModule mod_rewrite.c
>
> Is something else missing?
Did you restart apache?
To use mod_rewrite in .htaccess files, search for your <Directory
"c:/path/to/your/htdocs"> container and find AllowOverride there. Make
sure it is set to at least FileInfo
AllowOverride FileInfo
Look for "Options" in your <Directoty...> container. Make sure, you've
Symlinks enabled, i.e.
Options +FollowSymLinks
--
Robert
| |
| Sumeet Shroff 2006-02-01, 6:08 pm |
| thanks robert...
it works correctly now...
sumeet shroff
|
|
|
|
|