07-28-2002
What wsa the problem
I am having a similar (same) problem with Apache on Redhat 7.0 on my virtual host.
The main site works /var/www/html.
the virtual site works when i move the root directory of the virtual site to /var/www/html2.
but when i move the virtual site to /home/username/www/html i get that 403 Frobidden - you don't have permittion to access / directory error message.
I too have tried messing with permissions on the folder.
I would love to know what the problem was, more specifically what you did to solve it. I am relatively new to unix/linux so go easy on me
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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. Web Development
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
4. Web Development
I have the htaccess file within the folder in the domain I want to deny access to all users, execept one IP, after that
redirects Error 403 resulting to a 404 error custom html page as shown below.
# Restringting access!
deny from all
allow from 204.127.111.105 # Example of allowed IP... (1 Reply)
Discussion started by: cgkmal
1 Replies
5. UNIX for Dummies Questions & Answers
Hi new to the forum,
I have a Apache server on CentOS which hosts a web site. I've set up the SSL which has been tested as I can access my website via http and https.
I would like to redirect all browsers to use https instead of http. I have created the htaccess file which contains 'Allow... (3 Replies)
Discussion started by: Sai245
3 Replies
6. UNIX for Dummies Questions & Answers
Please help! I am in urgent need of assistance.
What started out as a small problem with IMAP folders not working seems to have spread.
Our mail server, Scalix running on CentOS 5.5 isn't sending out any mail.
There are now over 400 emails queued waiting to go out, all of which give the... (0 Replies)
Discussion started by: beckyboo
0 Replies
7. Shell Programming and Scripting
Error Message: dm2_oraver: 9xdm2_oraver2: LT11/w_standard/gold_wh/install/dm2_updatetns.ksh: 11MAR13: 0403-009 The spe
cified number is not valid for this command.
if means the line number in the ksh, it is ((CntNew=Cnt+1)).
Please let me know the best way to debug and find it out. I am... (4 Replies)
Discussion started by: Daniel Gate
4 Replies
8. Shell Programming and Scripting
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
9. Red Hat
Good evening, i've got a problem. I fail to enter "Manager App" in Apache Tomcat/9.0.0.M9 on server, it says "403 Access Denied». for example, server address is 192.168.1.4, when I type 'localhost ' in the browser and press "Manager App", then everything is ok. but if I enter 192.168.1.4 and press... (0 Replies)
Discussion started by: v.k.l.chr.by
0 Replies
LEARN ABOUT LINUX
a2dissite
A2ENSITE(8) System Manager's Manual A2ENSITE(8)
NAME
a2ensite, a2dissite - enable or disable an apache2 site / virtual host
SYNOPSIS
a2ensite [ [-q|--quiet] site]
a2dissite [ [-q|--quiet] site]
DESCRIPTION
This manual page documents briefly the a2ensite and a2dissite commands.
a2ensite is a script that enables the specified site (which contains a <VirtualHost> block) within the apache2 configuration. It does this
by creating symlinks within /etc/apache2/sites-enabled. Likewise, a2dissite disables a site by removing those symlinks. It is not an
error to enable a site which is already enabled, or to disable one which is already disabled.
Apache treats the very first virtual host enabled specially as every request not matching any actual directive is being redirected there.
Thus it should be called 000-default in order to sort before the remaining hosts to be loaded first.
OPTIONS
-q, --quiet
Don't show informative messages.
-m, --maintmode
Enables the maintainer mode, that is the program invocation is effectuated automatically by a maintainer script. This switch should
not be used by end users.
-p, --purge
When disabling a module, purge all traces of the module in the internal state data base.
EXIT STATUS
a2ensite and a2dissite exit with status 0 if all sites are processed successfully, 1 if errors occur, 2 if an invalid option was used.
EXAMPLES
a2dissite 000-default
Disables the default site.
FILES
/etc/apache2/sites-available
Directory with files giving information on available sites.
/etc/apache2/sites-enabled
Directory with links to the files in sites-available for enabled sites.
SEE ALSO
apache2ctl(8).
AUTHOR
This manual page was written by Stefan Fritsch <sf@debian.org> (based on the a2enmod manual page by Daniel Stone <daniel@sfarc.net>) for
the Debian GNU/Linux distribution.
8 June 2007 A2ENSITE(8)