Solved

Apache with Netscape composer

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Guacamole cut and paste issue 3 48
VMWare 6 crashing 14 98
Setting up static IP - Ubuntu server 16.04 12 31
linux(debian) mouse poor performance 4 13
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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.

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now