|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi
I'm trying to compile mod_rewrite to a dll file. The problem is when I compile the mod_rewrite.dsp in VisualStudio 6 or use the 'nmake' command to compile mod_rewrite.mak in DOS-mode I only get a mod_rewrite.so, I don't get a mod_rewrite.dll!? So, what have I done wrong? I need the dll to make the mod_rewrite to work in my Apache. My Apache resides on my Win 2000 computer. Pls, I need help... /Grodan |
|
#2
|
|||
|
|||
|
Apache 1.3.xx has been changed and rename from *.dll to *.so files, because of DSO. Therefore, *.so files are correct and should be work as well. My old Win2k Pro with Apache 1.3.xx that I compiled with MSVC++ and whole module files are in *.so. I don't have any of problem with it.
You should read about it at http://httpd.apache.org/docs/dso.html in "Implementation" paragraph. BTW: I don't use Apache in Windows anymore, so I don't really remember how to compile those with MSVC++.. |
|
#3
|
|||
|
|||
|
Quote:
Thx. I have tried to just uncomment the .so files in the httpd.conf file. But I don't seen to get it to work. Ah well I'll keep on trying. Thx again ![]() /Grodan |
|
#4
|
|||
|
|||
|
Maybe, it's something wrong with your create/write the mod_rewrite string. Why don't you post the lines of mod_rewrite? Also, check in Apache's log for the error.
|
|
#5
|
|||
|
|||
|
Hmmm... it seems like you are right...
When I didnīt take away the '#' infront of the two lines in httpd.conf I got this message in error.log: '[Fri Mar 08 08:16:36 2002] [alert] [client 127.0.0.1] c:/program files/apache group/apache/htdocs/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration'. When i took away the '#' i didn't. ![]() I have then created a '.htaccess'-file and in this written: Code:
RewriteEngine on RewriteRule !\.(gif|jpg|png|css)$ /index.html I have cun and paste this example. It should redirect every file except for images to 'index.html'. When I directly access a image it works, I can see the image. But when I'm trying to access any other file, nothin seems to happen... have I cerated the deadly loop that I have read about? Maybe the path to 'index.html' is wrong? I have installed the apache server in the path 'C:\Program Files\Apache Group\Apache\htdocs', I have put the '.htaccess'-file in the 'htdocs' -folder. In this folder I also keep the 'index.html'. Have I written the wrong path in the '.htaccess' -file? Sorry for the beginner questions... Hoping for more help /Grodan ![]() Last edited by GrodanBoll : March 8th, 2002 at 01:46 AM. |
|
#6
|
|||
|
|||
|
Aaaah, solved it
![]() /Grodan |
|
#7
|
|||
|
|||
|
Why don't you post your solution in here? To make the search function very useful.
![]() |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > When compiling I get .so instead og .dll?? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|