Forum Moderators: phranque
I have a cgi file that stopped running, telling the browser to download instead! I'm not much of a server dude myself but I'm doing my best to sort this matter out as I'm now unable to complete some of my work as an administrator (the file i'm trying to run is the one allowing me to enter my admin panel)
I did quite a lot of research and I know that this matter has been treated already here but it may differ, on the root I can see an empty .htaccess file randomnly created when trying to run the cgi script.
the server is running a cPanel software
and I checked that Apache handlers were correct and/or Mime type were missing or else.What bothers me is that a backup of the same site is fully working on another server located elsewhere and this is why I reckon there must be some problem with the Apache configuration of the server I'm using. Please any idea, tests, anything?
Thanks
I have an update.
Nothing has changed, the .htaccess file created is empty, no cPanel changes was made by me and can't say much about the Apache configuration because the file and site is hosted on a external server,I asked the server Hosting support and they told me that nothing has changed (I'm not sure of this, more like the people involved don't know what to do about it)
Anyway, what happen this morning is that I saved the file on download request and the file itself was empty, just after that I did try again and this time the page was browsed correctly but with a string
Set-Cookie: COOKIE_ADMIN=snaaapsaahassf; path=/ Date: Sun, 19 Aug 2007 07:34:38 GMT Content-Type: text/html; charset=ISO-8859-1 Content-type:text/html
When I insert my password it goes fine and enter but as soon as I click on any option it goes back asking the password again!
thanks for you time
Thanks
Thanks