Sponsored Content
Full Discussion: Apache Forbidden Error
Operating Systems Linux Apache Forbidden Error Post 57512 by perleo on Saturday 30th of October 2004 07:32:40 AM
Old 10-30-2004
Apache Forbidden Error

When i go to my browser and type both localhost or the ip, i get Forbidden, you do not have permission to access / on this machine

Whys that ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Apache Error

Hi, I am getting the error given below in the apache error_log. Error: tcgetattr: Invalid argument ioctl I_PUSH ttcompat: No such device or address sh: /xyz: not found the file xyz is there in the location with the necessary permissions. Could anyone help me with this. Thanks,... (1 Reply)
Discussion started by: amitsayshii
1 Replies

2. Solaris

apache error

dear all i install apache in solaris 10 and configure it but when i start catalina it give the error below : Exception in thread "main" java.lang.NoClassDefFoundError: cat/conf/krb5/conf does any one know about this error ?? (2 Replies)
Discussion started by: murad.jaber
2 Replies

3. Solaris

Solaris 10 / NetApp volumes - Forbidden: You don't have permission to access...

Hi all We have a couple of solaris zones running a jboss app in a cluster. Each zone has a shared netapp volume mounted to /app/xxx with everything under that subdir apart from jboss which is local to each zone in /app/jboss-3.2.5 There is a symlink in /app/xxx/jboss-3.2.5 which points to... (0 Replies)
Discussion started by: skewbie
0 Replies

4. Web Development

403 Forbidden / show directories

I have a directory that I want to just list the items when going to the URL instead of having an index.html page in the folder. I keep getting a 403 forbidden even though it is in my document root. I tried to add: Alias /keys/ "/var/www/html/keys/" <Directory "/var/www/html/keys"> ... (6 Replies)
Discussion started by: ippy98
6 Replies

5. Shell Programming and Scripting

Wget-Forbidden error

Hi , I am using shell script to connect to a https site and download all the files in a directory. eg: wget --no-check-certificate -r -np --user=<username> --password=<passwd> -O temp.txt https:<website>/<dirname> Error : HTTP request sent, awaiting response... 403 Forbidden 07:40:20... (0 Replies)
Discussion started by: mohanpadamata
0 Replies

6. Shell Programming and Scripting

users who have un-sanctioned(forbidden) files in their home directory.

Hello guys, I have to create a sh script which return users who have un-sanctioned(forbidden) files in their home directory. I tried to do: #!/bin/sh -x SHADOW_FILE="/etc/shadow" PASSWORD_FILE="/etc/passwd" for i in `grep -v '^+' $PASSWORD_FILE | cut -d: -f1,6` do username=`echo... (6 Replies)
Discussion started by: catalint
6 Replies

7. Web Development

forbidden error when accessing file(s) on a unix filesystem

greetings, i was recently asked to install apache1.3.31 on an aix5.3 server so users could have access to their output files. these two directories are nfs filesystems served by a netapp filer mounted on the aix machine. i've made no changes to the apache config and it's running as it came out of... (0 Replies)
Discussion started by: crimso
0 Replies

8. UNIX for Dummies Questions & Answers

Script to if webpage is: forbidden, Error...

I have a file with about 29,000 website names. I would like to find a script that would test if each website name is current/active or not. If not it should check if the page is: Forbidden, 404 Error... (1 Reply)
Discussion started by: dcovnton
1 Replies

9. Web Development

Directory index forbidden by Options directive error on specific directory with indexing disabled

I am seeing the following error appear numerous times in my Apache error log: I have my Apache config configured as below, so I would expect indexing not to occur on this directory as it falls under the parent /web directory. Strangely all the IP address, including this example, all... (5 Replies)
Discussion started by: crmpicco
5 Replies

10. Shell Programming and Scripting

Wget-403-Forbidden-Error

Hi Friends, I did an extensive search over the internet and tried all possible solutions that were recommended, but couldn't figure this out. Please see this link http://www.dli.gov.in/data6/upload/0159/808/PTIFF/00000007.tif It works. But, when I try the following command wget -r... (7 Replies)
Discussion started by: jacobs.smith
7 Replies
Plack::Middleware::Auth::WebID(3pm)			User Contributed Perl Documentation		       Plack::Middleware::Auth::WebID(3pm)

NAME
Plack::Middleware::Auth::WebID - authentication middleware for WebID SYNOPSIS
use Plack::Builder; my $app = sub { ... }; my $cache = CHI->new( ... ); sub unauthenticated { my ($self, $env) = @_; return [ 403, [ 'Content-Type' => 'text/plain' ], [ '403 Forbidden' ], ]; } builder { enable "Auth::WebID", cache => $cache, on_unauth => &unauthenticated; $app; }; DESCRIPTION
Plack::Middleware::Auth::WebID is a WebID handler for Plack. If authentication is successful, then the handler sets "$env->{WEBID}" to the user's WebID URI, and sets "$env->{WEBID_OBJECT}" to a Web::ID object. CONFIGURATION
cache This may be set to an object that will act as a cache for Web::ID objects. Plack::Middleware::Auth::WebID does not care what package you use for your caching needs. CHI, Cache::Cache and Cache should all work. In fact, any package that provides a similar one-argument "get" and a two-argument "set" ought to work. Which should you use? Well CHI seems to be best, however it's Moose-based, so usually too slow for CGI applications. Use Cache::Cache for CGI, and CHI otherwise. You don't need to set a cache at all, but if there's no cache, then reauthentication (which is computationally expensive) happens for every request. Use of a cache with an expiration time of around 15 minutes should significantly speed up the responsiveness of a WebID- secured site. (For forking servers you probably want a cache that is shared between processes, such as a memcached cache.) on_unauth Coderef that will be called if authentication is not successful. You can use this to return a "403 Forbidden" page for example, or try an alternative authentication method. The default coderef used will simply run the application as normal, but setting "$env->{WEBID}" to the empty string. webid_class Name of an alternative class to use for WebID authentication instead of Web::ID. Note that any such class would need to provide a compatible "new" constructor. certificate_env_key The key within $env where Plack::Middleware::Auth::WebID can find a PEM-encoded client SSL certificate. Apache keeps this information in "$env->{'SSL_CLIENT_CERT'}", so it should be no surprise that this setting defaults to 'SSL_CLIENT_CERT'. no_object_please Suppresses setting "$env->{WEBID_OBJECT}". "$env->{WEBID}" will still be set as usual. SERVER SUPPORT
WebID is an authentication system based on the Semantic Web and HTTPS. It relies on client certificates (but not on certification authorities; self-signed certificates are OK). So for this authentication module to work... o You need to be using a server which supports HTTPS. Many web PSGI web servers (e.g. HTTP::Server::Simple, Starman, etc) do not support HTTPS natively. In some cases these are used with an HTTPS proxy in front of them. o Your HTTPS server needs to request a client certificate from the client. o Your HTTPS server needs to expose the client certificate to Plack via $env. If you're using an HTTPS proxy in front of a non-HTTPS web server, then you might need to be creative to find a way to forward this information to your backend web server. o The client browser needs to have a WebID-compatible certificate installed. Nuff said. Apache2 (mod_perl and CGI) The SSLVerifyClient directive can be used to tell Apache that you want it to request a certificate from the client. Apache is able to deposit the certifcate in an environment variable called SSL_CLIENT_CERT. However by default it might not. Check out the SSLOptions directive and enable the "ExportCertData" option, or if you're using mod_perl try Plack::Middleware::Apache2::ModSSL. Gepok Gepok is one of a very small number of PSGI-compatible web servers that supports HTTPS natively. As of 0.19 it does not request client certificates, however there is a fork which provides client certificate support at https://github.com/tobyink/p5-gepok <https://github.com/tobyink/p5-gepok>, which will hopefully be merged into the release versions of Gepok at some point in the near future. This still doesn't give you the certificate in $env though. I'm working on some Plack middleware to do that. It will be released as Plack::Middleware::GepokX::ModSSL in due course. BUGS
Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=Web-ID <http://rt.cpan.org/Dist/Display.html?Queue=Web-ID>. SEE ALSO
Plack, Web::ID, Web::ID::FAQ. General WebID information: <http://webid.info/>, <http://www.w3.org/wiki/WebID>, <http://www.w3.org/2005/Incubator/webid/spec/>, http://lists.foaf-project.org/mailman/listinfo/foaf-protocols <http://lists.foaf-project.org/mailman/listinfo/foaf-protocols>. Apache mod_ssl: Plack::Middleware::Apache2::ModSSL, Apache2::ModSSL, <http://httpd.apache.org/docs/2.0/mod/mod_ssl.html>. AUTHOR
Toby Inkster <tobyink@cpan.org>. COPYRIGHT AND LICENCE
This software is copyright (c) 2012 by Toby Inkster. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. perl v5.14.2 2012-05-20 Plack::Middleware::Auth::WebID(3pm)
All times are GMT -4. The time now is 05:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy