Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3944874
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:57:09+00:00 2026-05-20T00:57:09+00:00

Windows 2008 R2 server running PHP 5.3. I have URL Rewrite for IIS working

  • 0

Windows 2008 R2 server running PHP 5.3.

I have URL Rewrite for IIS working for our website.

The rewrite is:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Imported Rule 1" stopProcessing="true">
                    <match url="^(.*)$" ignoreCase="false" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{R:1}" pattern="^(images|documents|system|themes|favicon\.ico|robots\.txt|index\.php)" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="/index.php/{R:1}" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

All of the pages (domain.com/contact) work just fine. But when posting a form, I get a 500.0 server error…which MSFT says has to do with rewrite or module errors.

I installed Fiddler and the Raw Request headers in TextView look like so

POST http://stage.domain.edu/ HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap
Referer: http://stage.domain.edu/contact
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Host: stage.domain.edu
Content-Length: 519
Connection: Keep-Alive
Pragma: no-cache
Cookie: exp_last_visit=978203019; exp_last_activity=1293563019; exp_tracker=a%3A5%3A%7Bi%3A0%3Bs%3A7%3A%22contact%22%3Bi%3A1%3Bs%3A5%3A%22index%22%3Bi%3A2%3Bs%3A7%3A%22contact%22%3Bi%3A3%3Bs%3A5%3A%22index%22%3Bi%3A4%3Bs%3A7%3A%22contact%22%3B%7D; exp_last_visit=1293563019; exp_last_activity=1294854559

ACT=27&RET=&URI=contact&recipients=HJAUumiTKThex9cAcYNq%2FyBQNLeXkIqACdl3EgaimNM%3D&user_recipients=7f73421623ceb94b5d06abe41d8663dd&charset=&redirect=&replyto=&site_id=2&subject=Contact+Form&to=sxxxxxx@xxxxx.edu&required%5B%5D=Full+Name%3A&required%5B%5D=stephanie&required%5B%5D=Phone%3A&required%5B%5D=954520-1176&sender=E-mail%3A&from=sxxxxxxx@gmail.com&required%5B%5D=Zip+Code%3A&required%5B%5D=33073&message=This+information+was+submitted+via+the+contact+form.&submit.x=72&submit.y=14

What in here could be causing posting variables to the index.php main file to 500?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T00:57:09+00:00Added an answer on May 20, 2026 at 12:57 am

    Just for the sake of completion, the issue was with the server giving 500 errors if anything was wrong, and in the CMS there were 2 issues:

    1) I had to set up the SMTP config correctly

    Then I just got a blank page.

    2) What was happening was that the CMS uses /n in emails as newline, and on Windows boxes, the equivalent of a newline is /r/n….so upon changing that in the HTML email config, all worked fine!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am running PHP on a 64bit windows 2008 server. I have both ODBC
I have a site running on windows server 2008. The site is HTML, and
I have a Windows Server 2003 that is running IIS 6 with several web
I have been trying to configure a small website on a Windows Server 2008
I have a site that is running on a Windows Server 2008 machine with
I'm running SQL Server 2008 Express on Windows XP on a VirtualPC instance inside
I have a Windows 2008 Server with IIS7 on it and a web page
Windows Server 2008 / IIS 7... I am trying to setup and CI environment
When I installed Windows Server 2008 I didn't have the (activation) key. Now that
I am currently using Windows Server 2008 Standard and have several Hyper V machines.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.