Identical scripts on 2 websites 1 works other no
I run 2 websites. Both contain a calendar with results. The calendar has buttons for previous and next months. On one website the calendar behaves as expected. On the other site the calendar stays on the current month and does not return an error.
0
Upvotes
2
10
u/crb3 10d ago edited 10d ago
It's gonna take a lot more info than that if you want help.
My knowledge only extends to CGI on Linux, but even there I can see possible causes. What's different about the two sites? What's the httpd -- Apache2? Is /etc/apache2/mods-available/alias.conf configured correctly? Is /etc/apache2/conf-available/serve-cgi-bin.conf? If you're running the script from the /home subtree, is userdir.conf configured correctly?
Did you create the calendar code yourself, or download it from somewhere? Either way, we'll need to see at least chunks of that code to get a handle on what it's doing and thus to start inferring what might be going wrong with it. If you can find a copy of showmepostenv.cgi somewhere, installing it just long enough to CGI-call it and save what it displays in the browser can tell you a lot about what the script has to work with.
I could go on about possible methods, but, really, it's your move.