Solved

Apache with Netscape composer

Posted on 2000-03-21
4
216 Views
Last Modified: 2013-12-15
I did install redhat 6.0 with apache 1.3.12. I try to use netscape composer to edit my web page directory. Once I type http://webtest.abc.com/index.html

It require username and password ( I did set access to this web by using .htaccess file. This is to access this page, but how come it allow the open the web ?

My .htaccess is
AuthUserFile /usr/local/apache/bin/passwd
AuthName "testweb"
 AuthType Basic

# <Limit Put Host head>
# require user per
# </limit>

# <Limit Get>
# order deny,allow
#deny from all
   require valid-user
# </limit>

#order deny,allow
#deny from all
~
~

Is there any best web editor to edit webpage directly ? How about frontpage server extension ? Is this ok ? Any suggestion ?

Remark: my web page are belongs to root and group = root.

Best Regards


0
Comment
Question by:edmundli
  • 2
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
alien_life_form earned 60 total points
ID: 2640870
Greetings:

Composer uses the PUT method - however, apache does not know, by default, what to do with a PUT request (it does not know what to do with POST, either: but a CGI script is usually there to catch POST requests).

You will need a PUT handler - a CGI script, essentially. You can get one by either rolling your or own(best solution) activating the mod_put module whicch comes, with documentation, in the latest apache releases. For PUT handler scripts, you'll find discussions in the apache docs and an example in Apache (Weekly? Gazzette?). mod_put may be preferable.

And, having root.root permissions is not going to make your life any easier through all this.
I'd change ownership to some lesser god, possibly nobody.

An alternative option may be an editor that knows how to use ftp. There are many, not excluding (as I remember) FrontPage.

Cheers,
      alf
0
 

Author Comment

by:edmundli
ID: 2656837
Hi , I forgot something about the access control. I do make up 5 pages and each page has it own access control e.g each directory has each .htaccess file. How can I setup a super user such as helpdesk user can access all pages without password ?
0
 
LVL 3

Expert Comment

by:alien_life_form
ID: 2659961
Greetings.

You either use group access or stick the 'super' user along with the authorized user in any .htaccess (you can have more than one user).

Cheers,
    alf



0
 

Author Comment

by:edmundli
ID: 2660291

Is this the mean thing, super user needs to login each page of the web page ? e.g. he/she has to login 5 links
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Fine Tune your automatic Updates for Ubuntu / Debian
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question