Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 7th, 2002, 02:53 AM
GrodanBoll GrodanBoll is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 9 GrodanBoll User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question When compiling I get .so instead og .dll??

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

Reply With Quote
  #2  
Old March 7th, 2002, 12:00 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
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++..

Reply With Quote
  #3  
Old March 7th, 2002, 12:31 PM
GrodanBoll GrodanBoll is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 9 GrodanBoll User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally posted by mezz
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++..


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

Reply With Quote
  #4  
Old March 7th, 2002, 12:50 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
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.

Reply With Quote
  #5  
Old March 8th, 2002, 01:43 AM
GrodanBoll GrodanBoll is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 9 GrodanBoll User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #6  
Old March 8th, 2002, 06:13 AM
GrodanBoll GrodanBoll is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 9 GrodanBoll User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Aaaah, solved it

/Grodan

Reply With Quote
  #7  
Old March 8th, 2002, 12:31 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Why don't you post your solution in here? To make the search function very useful.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > When compiling I get .so instead og .dll??


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT