In the same way that you can generate specific content based on browser type is there a way to generate specific content based on the server running PHP without reference to the server or site name?
For example, a way for PHP to automatically detect the environment it was in and configure things like DB connections, ini_set for errors e...
I'm evaluating the possibility to write a web application using Delphi (ISAPI/CGI/...). I still cannot see enough reasons to use Delphi instead of a "classic" web development framework.
If you have experience in this specific area please share your remarks. Would you recommend Delphi instead of PHP/Rails/ASP/...? Do you know any web app...
Is there an ISAPI filter that can automatically add the Last-Modified header in IIS?
...
Hello folks,
I'm porting an isapi (pageproducers) application from delphi 7 to delphi 2009, the pages are based on html files in UTF8.
Everything goes well except when Onhtmltag is fired and I replace a transparent tag with any value with special characters like accented characters (áé...) Those characters are replaced in the output wi...
I'm looking to port over an Apache module to IIS 6.0 that does some custom encryption on data that is being sent to the client. A TechNet document that deals with configuring IIS 6.0 suggests that this can be done with ISAPI:
For example, a filter could be
notified when a Read or Write event
occurs and then encrypt the raw data
...
Sorry for the vague title, as I really can't explain this problem succinctly.
Basically I have Windows Server 2008 x64, IIS7, ASP.NET 2.05, and I have a site running in a Classic AppPool (and no I cannot run in Integrated).
When trying to load an *.aspx file for the first time (i.e. after installing site, restarting the server, etc) I...
I need to write an ISAPI filter for IIS 6.0 to rewrite ugly URLs into SEO-friendly URLs. Because of the need for string parsing and regular expressions, I'd prefer to use Perl to do this. There is a module for IIS called (ingeniously) Perl for IIS, but I'd rather not use that because it's an ISAPI extension itself (running in a DLL), so ...
Hi guys,
We have all the code in Delphi and it is hard to create a new ASMX / SVC File directly in .NET because it uses encryption and weird stuff :) as it would take around 2 weeks to convert and to test...
Because of that we agreed that will keep the Delphi code and find a way to communicate between the ASP.NET application and this D...
This code snippet is part of an isapi redirect filter written in managed c++ that will capture url requests with prefix "http://test/. Once the url is captured it will redirect those request to a test.aspx file i have at the root of my web app.
I need some syntax help how to:
1) pass the "urlString" parameter to be displayed in my "te...
I have the following line in my IsapiRewrite.ini file:
RewriteRule ^/test-url.asp$ http://www.google.co.uk/ [R=301,L]
But it doesn't do anything...
However, this DOES work:
RewriteRule ^/test-url.asp$ /
Is it a case of enabling Redirect or something like that? I would have thought that if the IsapiRewrite4.dll is running, the r...
I have and HTTP module that cleans, compresses and minifies CSS, JS, and HTML files based on their content type header. It works great in my staging environment and localhost (ISS7, classic pipeline mode). On IIS 6 (production), it is not reliable. Sporadically, this static files stop being processed by asp.net and appear to be reverting...
I have the following
RewriteMap mapfile txt:D:\mysite\urls.txt
RewriteRule ^([^?/]+)\.htm /vehicle.aspx?e=${mapfile:$1} [QSA]
RewriteRule ^(.*)\.htm $1\.aspx
Now my problem is, I want to make the url's look like this for the /vehicles.aspx page (Which I am reading from a file)
/my-chevrolet-camaro.htm
Which is working fine - The p...
We recently reinstalled our web site on our server, the sys admin says it is an exact rebuild, and it indeed looks to me that it is, but there is something different going on. I did not originally develop the site, and those who did are no longer available.
urls for the admin site are now
//admin.site.com/index.php/schedules
and used...
Hi guys,
as title, my friend's environment is Windows 2003 server. He attached the IIS process and set the breaking points at codes supposed to run, but VS doesn't stop at all. The ISAPI is written with VC++.
Is there any setting he need to set up?
Thanks.
...
Hi
I have an Isapi dll which performs some basic URL rewriting. It works fine on II6. However, now my dev machine has been upgraded to Windows 7, I cannot get it to work under IIS 7
Is there anything special that needs to be done to get this to work?
The website is running the Classic ASP pipeline app pool (although I have tried both)...
Hi
My customer wants me to get rid of the dll and ? & characters in the url and use SEO friendly urls.
How can I go about this URL - rewrite?
Currently I have something like:
http://www.ultimateholidayplanner.com/uhp.dll/AccList?PN=AccommodationSearch.htm
That needs to turn into something like:
http://www.ultimateholidayplanner.com...
If I have an "application" defined in IIS Manager, I can get the value of the server variable APPL_MD_PATH to retrieve the physical path associated to the application.
If I have a "virtual directory" configured, APPL_MD_PATH still gives me the physical path associated to the application, not the physical path associated to the virtual...
I have an ISAPI filter that runs on IIS6 or 7. When there are multiple worker processes ("Web garden"), the filter will be loaded and run in each w3wp.exe.
How can I efficiently allow the filter to log its activities in a single consolidated logfile?
log messages from the different (concurrent) processes must not interfere with eac...
Hi,
I have created an ISAPI filter.
It works fine on develpoment server and SIT server.
But in production server it doesn't works.
In event viewer the following log :
Reporting queued error: faulting application w3wp.exe, version 6.0.3790.2825, faulting module msvcr80.dll, version 8.0.50727.3053, fault address 0x00046039.
...
We have the following probe query that works for a while, but it’s broken after most recent deploy onto a new set of machines.
I debugged into our ISAPI Extension code and found out that the REFERRER was not forwarded over as expected.
I checked the IIS settings, there is no difference between the machines showed problem and the produ...