Solved

Apache with Netscape composer

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

757 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

22 Experts available now in Live!

Get 1:1 Help Now