11-19-2015
Quote:
Originally Posted by
samnyc
I changed the whole /var/www/html to 777. Still getting this error message.
There might be access controls in place in the Apache server configuration (usually a file called "httpd.conf" somewhere). Have a look there for the "deny" and the "allow" keywords in the definition of the servers root directory.
I hope this helps.
bakunin
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm really new to Unix and its commands. I tried to move a file from the home directory to another one but I didn't type the full name of the new directory. I think the computer created another directory in the home directory and put it in there. However, now I can't access it and it doesn't even... (3 Replies)
Discussion started by: scheng12
3 Replies
2. Programming
how is it possible for a directory to be empty and still have a size greater than 0 in bytes...
i made a shell script that shows info about all files/directories and this is what came up
the last one is the size, here its showing 1024
in the for loop i did something like
for h in * .*; do
... (4 Replies)
Discussion started by: omega666
4 Replies
3. Shell Programming and Scripting
Since I'm usually on windows I've came across different shells like Cygwin, Hamilton, and MKS. I've been working in csh most of the time, so porting scripts from one shell to another can be fairly annoying and confusing.
When specifying a directory I noticed that certain shells do not recognize... (1 Reply)
Discussion started by: vas28r13
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
I am using Red Hat OS 5.0, is there any way that i can password protect directories. I know i can change permission so that no other user can access the content, but sometimes in my office environment i need to share vnc terminal with other people from my login itself. So i want that if user... (1 Reply)
Discussion started by: sarbjit
1 Replies
5. Shell Programming and Scripting
Need help
Please help on how to write a script which can echo timestamp, size of subdirectories in a specific path from multiple Linux servers to a text file.
I can ssh with a common user to all the servers from a build box.
Basic idea what I had was:
ssh <commonuser>@<each box>
cd... (1 Reply)
Discussion started by: sudhichadaga
1 Replies
6. UNIX for Advanced & Expert Users
OS: Oracle Enterprise Linux 6.2
Hypervisor: VMWare workstation 9
I created a VM and attached a 7gb virtual disk to it.
Using fdisk , I partioned the disk like below. The filesystems mounted on this is working fine. But I am seeing the message
Partition n does not end on cylinder boundary.... (2 Replies)
Discussion started by: kraljic
2 Replies
7. Programming
I'm new to Linux and trying to port
a c++ program from windows.
what I'm trying to do is copy a file to a directory off
the root of the drive
First off the program is located and running from
Drive:\Base\Web\Today\Program.exe
And trying to copy to:
Drive:\Base\cpics
windows... (10 Replies)
Discussion started by: pinbot
10 Replies
8. Solaris
I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. This is for Solaris. Please help. (1 Reply)
Discussion started by: blinkingdan
1 Replies
LEARN ABOUT DEBIAN
catalyst::engine::apache::mp13
Catalyst::Engine::Apache::MP13(3pm) User Contributed Perl Documentation Catalyst::Engine::Apache::MP13(3pm)
NAME
Catalyst::Engine::Apache::MP13 - Catalyst Apache mod_perl 1.3x Engine
SYNOPSIS
# Set up your Catalyst app as a mod_perl 1.3x application in httpd.conf
<Perl>
use lib qw( /var/www/MyApp/lib );
</Perl>
# Preload your entire application
PerlModule MyApp
<VirtualHost *>
ServerName myapp.hostname.com
DocumentRoot /var/www/MyApp/root
<Location />
SetHandler perl-script
PerlHandler MyApp
</Location>
# you can also run your app in any non-root location
<Location /some/other/path>
SetHandler perl-script
PerlHandler MyApp
</Location>
# Make sure to let Apache handle your static files
# (And remember to remove the Static::Simple plugin in production)
<Location /static>
SetHandler default-handler
</Location>
</VirtualHost>
DESCRIPTION
This is the Catalyst engine specialized for Apache mod_perl version 1.3x.
Apache::Registry
While this method is not recommended, you can also run your Catalyst application via an Apache::Registry script.
httpd.conf:
PerlModule Apache::Registry
Alias / /var/www/MyApp/script/myapp_registry.pl/
<Directory /var/www/MyApp/script>
Options +ExecCGI
</Directory>
<Location />
SetHandler perl-script
PerlHandler Apache::Registry
</Location>
script/myapp_registry.pl (you will need to create this):
#!/usr/bin/perl
use strict;
use warnings;
use MyApp;
MyApp->handle_request( Apache->request );
METHODS
ok_constant
OVERLOADED METHODS
This class overloads some methods from "Catalyst::Engine::Apache".
$c->engine->finalize_headers
SEE ALSO
Catalyst, Catalyst::Engine, Catalyst::Engine::Apache.
AUTHORS
o Sebastian Riedel <sri@cpan.org>
o Christian Hansen <ch@ngmedia.com>
o Andy Grundman <andy@hybridized.org>
o Tomas Doran <bobtfish@bobtfish.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by The "AUTHORS".
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.10.1 2010-11-26 Catalyst::Engine::Apache::MP13(3pm)