nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

cgi script downloads - instead of executing

This is a discussion on cgi script downloads - instead of executing within the Ubuntu / Debian forums, part of the Linux Distribution category; hi, I installed webmin, and tried login. While logging in it downloads session_login.cgi , how could i correct this erorr ...


Go Back   nixCraft Linux Forum > Linux Distribution > Ubuntu / Debian

Linux answers from nixCraft.


Ubuntu / Debian Discussion about Debian or Ubuntu Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 23-04-2008, 06:05 PM
Junior Member
User
 
Join Date: Jan 2008
OS: Debian
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
sathiya is on a distinguished road
Default cgi script downloads - instead of executing

hi,

I installed webmin, and tried login.

While logging in it downloads session_login.cgi , how could i correct this erorr ?

I installed mod_cgi, tried editing the 000-default file.....
Reply With Quote
  #2 (permalink)  
Old 11-06-2008, 10:27 PM
Junior Member
User
 
Join Date: Nov 2007
OS: Mepis and Debian
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Johnny Utah is on a distinguished road
Default

Are you using Firefox to access the webadmin?

It might me a browser problem, not a server problem.

Try these:

  • Clearing your Firefox cookies and cache (press Ctrl+Shift+Del and select them to be cleared)
  • Resetting your Download Actions:
    1. Close Firefox
    2. Open the Firefox profile folder - see How to find your profile
    3. Delete the mimetypes.rdf file
  • Checking your Internet security software (this includes antivirus and antispyware programs, firewalls, and more):
    • In general, open the program's settings, remove Firefox from its "Allow" list, and then let it redetect Firefox.
    • If your program is listed at the Firewalls article here, or at the Firewalls article at MozillaZine, you can get specific instructions for how to properly reconfigure. Follow them carefully.
  • Making a new Firefox profile (see Managing profiles). If that works, you can get your bookmarks and passwords into the new profile by following the instructions in the Recovering important data from an old profile article.


Sometimes Firefox will try to download PHP files instead of load them as web pages
__________________
Kubuntu user? http://kubuntuway.net
Do you own reptiles? http://redtailconnect.net
Reply With Quote
  #3 (permalink)  
Old 13-06-2008, 01:14 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Your server is not configured properly for CGI files.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Executing .exe files in Red Hat Linux AS4 shilpigoel1 Linux software 2 09-12-2008 07:34 PM
avoid displaying errors while executing a script vikas027 Shell scripting 4 31-10-2007 11:57 AM
Problem blocking file ext downloads from Gmail in squid Roshu Networking, Firewalls and Security 1 24-08-2007 11:21 PM


All times are GMT +5.5. The time now is 11:23 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38