hosted by liquidweb


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

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
  #1  
Old 10-15-2000, 12:12 PM
Shooter Shooter is offline
Newbie
 
Join Date: Sep 2000
Location: San Diego's North County
Posts: 21
Unhappy

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 Catalog.com... 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").

Wm


__________________
William Morton
Second Glance



Sponsored Links
  #2  
Old 10-15-2000, 12:46 PM
webfors webfors is offline
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.

Reply

Related posts from TheWhir.com
Title Type Date Posted
AQUA Networks Limited Listing 2014-01-27 20:52:06
OVH Urges Customers to Change Passwords Following Multi-Stage Attack Web Hosting News 2013-07-24 11:17:01
Linode Resets Passwords After Discovering Customer Hacking Attempt Web Hosting News 2013-04-15 13:25:41
Fortinet Security Report Highlights Top 6 Threat Predictions for 2013 Web Hosting News 2012-12-14 15:33:07
DEMO VIDEO: Idera Continuous Data Protection (Part 2) Whir Tv 2014-05-02 15:00:13


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
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com 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?