This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Redirecting HTML page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Redirecting HTML page" Watch "Redirecting HTML page" New topic
Author

Redirecting HTML page

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 815
I have a perl script that generates HTML pages (CGI App). The application runs fine for IIS but doesn't on a machine running Apache. The script does the following :
1) write Content-type header... \n
2) writes a couple of set-cookie headers...\n after each
3) write Location header followed by 2 new-lines
4) exit out of program

Again, it works fine on a server running IIS but not on a Linux server running Apache. Any ideas why? I'd appreciate any feedback you could give. I never had this problem before but I've never needed to redirect to another page before in either app either. Thanks.
Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

I think you should provide more details about which part doesn't work. What do you see on the screen, in the logs, etc.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Redirecting HTML page
 
Similar Threads
integrating IIS 5.0 with Sun ONE App Server 7
Can I run IIS and j2ee web servers on the same machine
404 Error With JSP Application
IIS and Apache Tomcat
Apache/IIS/Tomcat integration - Why?