Solved

Apache with Netscape composer

Posted on 2000-03-21
4
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Create CentOS 7 Newton Packstack Running Keystone

A bug was filed against RDO for the installation of Keystone v3. This guide is designed to walk you through the configuration for using Keystone v3 with Packstack. You will accomplish this using various repos and the Answers file.

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

617 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