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

  • Home
  • SEARCH
  • 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 8595491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:26:45+00:00 2026-06-12T00:26:45+00:00

So I inserted a SLL Certificate and now in the code for the web.config

  • 0

So I inserted a SLL Certificate and now in the code for the web.config file I have

Code:

<system.webServer>
        <rewrite>
            <rules>
                <rule name="removed by me" stopProcessing="true">
                    <match url="(.*)" />
                    <conditions>
                        <add input="{HTTPS}" pattern="(^OFF$)" />
                    </conditions>
                    <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="SeeOther" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>

Now this works great and all but the directory that is what i use is site/folder/root(where all my files i need accessed are set to) Now with the code I used when I go to lets say login and I am at site/folder/loginfile and I login, it takes me to site/loginsuccess file when it should be site/folder/root.

Please let me know if you need anything else!

Thank you!

EDITED———–

My redirect once you successfully login is:

header("location:http://Site/folder/memberinterface.php");
  • 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-06-12T00:26:46+00:00Added an answer on June 12, 2026 at 12:26 am

    Figured it out!

    I need to change

    action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="SeeOther" /> to

    <action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}{REQUEST_URI}" /> 
    

    Thanks for the help!

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

Sidebar

Related Questions

I have inserted xml into SQL Server 2005 through rich text field successfully, now
I have inserted the following asm code in my C++ code. I am using
I have inserted a table web control in a panel. In that table's cells
I have inserted a definition for a view in $template_dir/sql/$someTableName.sql file. (create or replace
I have inserted a list in my j2ME project,designed using LWUIT. The code is
I inserted one little jQuery code into my site, to fix the navigation icons
I inserted a .swf file to my page inside a div, and I tried
I inserted the following code: $counter = 1; while($_POST['additional_contact1'] != '' || $_POST['additional_contact2'] !=
I inserted 'vanity_name' and 'name' into the first and second SELECT statements respectively. I
I have inserted string and integer values into dynamic columns in a Cassandra Column

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.