Solved

Apache with Netscape composer

Posted on 2000-03-21
4
222 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

679 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