1
голосов
1ответов
83 просмотров

Why does our Backend Programmer handle SSL in this fashion, with a redirect?

Here's the page in question: www.mchenry.edu/parentorientation. My question is: why does our Backend DB person handle the SSL this way, as a redirect? Isn't there a cleaner way to do it? BTW, we're running IIS. My suspicion is that she doesn't understand what needs to happen in order to make it c...

1
голосов
2ответов
1141 просмотров

Redirect all page requests to one page

I need to redirect all page requests (php, if that matters) on a specific domain to a specific page (again, php) on that domain. I'm looking for a .htaccess, mod_rewrite solution for easy of implementation.

0
голосов
4ответов
1021 просмотров

The whole page become blank after redirecting with @header() in IE6

It's a login page. After validating, the user is redirected to home page: @header("Content-type: text/html; charset=utf-8"); @header('Location: index.php'); @header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 @header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past ...

1
голосов
2ответов
1227 просмотров

Redirecting printf?

How do you redirect the output of printf to, for example, a stream or something? I have a gui app that links with a console library. The library makes repeated calls to printf. I need a way to intercept those and have them processed by a function. Also, creating a console is not an option. Im usi...

2
голосов
4ответов
1955 просмотров

What is equivalent code for window.location in jQuery?

I am currently using window.location for client-side redirection in jQuery. Is there any equivalent syntax to do client-side redirection?

0
голосов
3ответов
285 просмотров

How to supply many argv and outputredirection with one bash var?

In file a.lst: in1.a in1.b > out1.a 2> out1.b in2.a in2.b > out2.a 2> out2.b In do.sh: CLI=$(sed -n -e "1 p" a.lst) perl a.pl $CLI I want to run like perl a.pl in1.a in1.b > out1.a 2> out1.b, how can I make it work ?

0
голосов
1ответов
155 просмотров

Apache web-server config, what is redirecting me and how can I change it

Background: I inherited a web server that serves up files from /var/www/html. The server used to serve up files from the following locations: /var/www/html/alpha/index.php /var/www/html/bravo/index.php /var/www/html/charlie/index.php You could get to these sites from the web using: http://app...

0
голосов
1ответов
691 просмотров

DotNetNuke Page Redirecting

When I browsing my DotNetNuke application from the server, it automatically redirects to error.aspx. How do I cause my DotNetNuke application to serve default.aspx when visited from the server?

0
голосов
6ответов
189 просмотров

How can I change the location of a page and not redirect the user?

I want to be able to change the address of a page but not issue any HTTP requests upon making that change. How can this be done using JavaScript?

0
голосов
3ответов
533 просмотров

How to use RewriteRule in Apache to redirect from /abc/ to /abc?

RewriteRule ^([^/\.]+)/$ $1 [R] redirects from website.com/abc/ to website.com/home/user/www/abc How do I redirect to the correct location? (website.com/abc)

5
голосов
3ответов
2098 просмотров

Is it possible for PHP to follow a URL?

Is it possible for PHP to take a URL, wait for the redirects to go through, and then fetch the url of the page it's on?

0
голосов
2ответов
121 просмотров

Transferring Everything from One Domain to Another

I want to move from one domain to another one that is shorter and (hopefully) easier to remember, but I also want the transition to be as seamless as possible. I'm a coder so I know about 301 redirects and I intend to use them, but is there something easier than manually adding entries in my .ht...

2
голосов
2ответов
2727 просмотров

Redirecting audio output

I need a method to redirect my Mac's audio output to a different computer on the same network as the Mac doesn't have audio output. I'm on Snow Leopard while the other computer which has speakers attached does not have any operating system at the moment.

3
голосов
4ответов
3387 просмотров

In Asp.Net, check for existence of aspx page before redirecting to it?

How can I check for the existence of an aspx page before attempting to redirect to it, so I can handle that case in my C# code? Response.Redict("~/SomePage.aspx") But I want to make sure that page really does exist before I call it. It works off of a string after all, so maybe I have a type or...

0
голосов
3ответов
2046 просмотров

how to redirect a pdf request to aspx in iis 6.0

Hi i'm wondering how to redirect a http://mysite.com/pdf/blah.pdf to http://mysite.com/pages/page.aspx for all pdf file requests in iis 6.0/asp.net. Haven't been able to find anything definitive by searching.

11
голосов
4ответов
28101 просмотров

Django form redirect using HttpResponseRedirect

So this can't be too hard but I can't figure it out... I want my form in django (located at /file_upload/) to upload a file, add it to the database, and then redirect to a new page where the parameter is the id of the field that I've added in the database (located at /file/163/, say). I've set ...

0
голосов
1ответов
1187 просмотров

Redirect specific file request (at any location) to specific location

I have a specific file, let's call it 'myfile.abc', that I need to have redirected to a specific location, no matter what location it's requested from. For instance: /folder1/myfile.abc /folder2/myfile.abc /folder3/myfile.abc I need all the above to be redirected to (as an example): /myfolder...

2
голосов
1ответов
4924 просмотров

BASH script passing stdin input to a program and giving control back to user input

(I looked everywhere for this, perhaps my googling skill is off today) I have a program that requires a handful of initialization cmds from stdin (and not through arguments). It'd be nice to move those commands into a script so when the script completes I can start keying the real work. So somet...

10
голосов
8ответов
53183 просмотров

best way redirect/reload pages in PHP

Whats the best way to reload/redirect a page in PHP which completely removes all history/cache? Which headers should I use? What happens: On clicking a link, get-parameters is set and a script is executed. When finished, I want to redirect and reload the page without the get-parameters. At firs...

0
голосов
2ответов
2611 просмотров

PHP Header Redirect problem (no, not that common problem)

Firstly, this is not the headers already sent' problem. I have an include file, that does the redirect. This works on every server I have tried it on except the production server, which runs windows. When I run it on the production server, it only redirects the include file, not the entire page...

25
голосов
4ответов
9913 просмотров

paste without temporary files in Unix

I'm trying to use the Unix command paste, which is like a column-appending form of cat, and came across a puzzle I've never known how to solve in Unix. How can you use the outputs of two different programs as the input for another program (without using temporary files)? Ideally, I'd do this (w...

2
голосов
3ответов
14470 просмотров

ASP.NET: directing user to login page, after login send user back to page requested originally?

I am trying to manually implement a login system in ASP.NET 3.5. Basically, on load, I would like the site to check and see if user object is active, if not, than I want the login page to appear. After user has logged in successfully, I would like the user to be able to access the same page he ...

3
голосов
5ответов
7614 просмотров

redirecting to homepage rather than 404 error page!

I'm working with PHP. I have an .htaccess file like below, and it redirects to homepage rather than 404 error page :/ what can be the problem here? Appreciate helps! thanks a lot! ErrorDocument 404 /new/err404.html RewriteEngine On RewriteBase /new/ RewriteRule ^login.html$ index.php?s=login&am...

0
голосов
2ответов
6305 просмотров

How Do I make a simple .htaccess internal redirect Catch All script while forwarding POST data?

I just want to catch all requests and forward them internally to my catchall page with all POST data intact Catch all page: http://www.mydomain.com/addons/redirect/catch-all.php I've tried so many combinations, but my server doesn't want to redirect internally if I specify more than catch-all.p...

1
голосов
3ответов
377 просмотров

URL Shortening that Leaves the Shortened URL in the Address Bar

I'm building an internal URL shortening website for my company. Since so few people will use it, we're letting people choose their own custom shortened URLs. So, for example, you could have the shortened URL: http://goto/toms-projects We thought it would be cool to offer, in addition to a r...

1
голосов
2ответов
3513 просмотров

.htaccess Redirect to External Site and Forward POST data while Changing address bar?

Hey, I want to use .htaccess to redirect the requested page to the exact same page on a different domain, and I want it to forward all POST data while CHANGING the address bar to the new domain, like a normal redirect. Here's my code. Options +FollowSymLinks RewriteEngine on RewriteRule (.*) ht...

0
голосов
3ответов
234 просмотров

email application help. Send email to made up email address which is redirected to real email

I'm wondering how i would go about making the following application: a user signs up, say with the username "johny-jones". Lets say for example that my domain is www.example.com if anyone emails [email protected] this email is redirected to johny-jones REAL email address

164
голосов
8ответов
325021 просмотров

jQuery and AJAX response header

So I've got this jQuery AJAX call, and the response comes from the server in the form of a 302 redirect. I'd like to take this redirect and load it in an iframe, but when I try to view the header info with a javascript alert, it comes up null, even though firebug sees it correctly. Here's the co...

1
голосов
2ответов
1638 просмотров

Break out of framed page before load

I have a aspx page that is inside a frame. I want to redirect to a new page but before that page loads, break out of the frame. I was using this js code window.onload = TimeOutRedirect; function TimeOutRedirect() { try { if (self.parent.frames.length != 0) self.parent.location=d...

0
голосов
4ответов
283 просмотров

domains redirecting to specific pages

I have a main domain name associated with a WordPress site, and then I have a couple other domain names connected to that site as well. I want the other two domains names to point/redirect to specific pages on the site rather than the index page, which is the default. So when domain1.com is ...