Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Redirecting HTML page

 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you should provide more details about which part doesn't work. What do you see on the screen, in the logs, etc.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic