hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : CGI, SSI and Password-protection inop

Forum Jump

CGI, SSI and Password-protection inop

Reply Post New Thread In Hosting Security and Technology Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Join Date: Sep 2000
Location: San Diego's North County
Posts: 21

My troubles with my new dedicated server are growing. Other than the problems mentioned in the general forum with CGIs being unable to execute (they work via telnet, but not via the web), I've found that my SSIs are not appearing and my password-protected directory will not let me in using ANY of three user/pass combos created!!! This is all using the Linux/Apache/Plesk combo at I'm beginning to think that something is seriously wrong with the server config... (and that I'm not *near* savvy enough to run my first dedicated server, even with a "control panel").


William Morton
Second Glance

Sponsored Links
Web Hosting Master
Join Date: May 2000
Location: Montreal, Quebec, Canada
Posts: 917
Hi Shooter,

definitely a config problem.

If linuxconf is installed on the server you can verify the default Apache config using it. You might want to make sure that "cgi" and "ssi" are enabled and that your alias for the "cgi-bin" is set up correctly. Also make sure that your cgi-bin is chmod 755 to allow you to execute scripts contained in it:

chmod 755 cgi-bin

For the password protected directory, all you have to do is add the users to the .htaccess file that you want to give access to.

To see the .htaccess file you have to use the following command to show hidden files:

ls -ails

And to edit it you can use pico or vi:

pico .htaccess

And then add the following to add a user to it:

require user username

Where username is any user you want to grant access to.

Here is a sample of a basic .htaccess file:

AuthType Basic
AddHandler cgi-script .cgi
AuthName "Enter At Your Own Risk!"
require user frank
require user john

Hope this helps.


Related posts from
Title Type Date Posted
Drupal Patches Flaw That Allowed Hackers to Forge Password Reset URLs Web Hosting News 2015-03-19 20:01:06
Do You Have One of the Worst Passwords of 2014? Web Hosting News 2015-01-21 10:54:02
Cyber Criminals Exploit Password Managers to Gain Access to Master Passwords Web Hosting News 2014-11-20 21:03:23
Server Protected with Default Password Enables Hack Web Hosting News 2014-09-05 09:51:28
OVH Urges Customers to Change Passwords Following Multi-Stage Attack Web Hosting News 2013-07-24 11:17:01

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?