Fedora Servers :: Directory Index Forbidden By Options Directive?

Jan 7, 2009

I am running a few virtual domains on Apache/Fedora 9. I have some domains working fine but when I tried to put up another one today I get "Directory index forbidden by Options directiveL : /home/jek/www/AAA/" Now here's the weird part. That message appeas in the error log for domain AAA, whereas the new domain is BBB and has it's own log files defined in httpd.conf. On the browser the Fedora test page is displayed. SELinux is turned off.

View 4 Replies


ADVERTISEMENT

Ubuntu Servers :: Webdav + Nautilus = Forbidden - DON'T Have "Options Indexes" In Apache Config File When Try To Access Via Firefox

Feb 20, 2010

I've installed webdav on my server and I can access it fine through cadaver. However, when I try to access it via nautilus, I get Forbidden. It is NOT secured (SSL). When I try to access it via firefox, I get an error since I DO NOT have "Options Indexes" in my apache config file. If I add this option in, then I can browse the root direction and webdav folder via firefox, but still not from nautilus. what other information you need. I've googled and searched the forums for awhile, but not "solutions" I found have worked for me. I want the webdav folder to just be a single folder within the direction, so this is how I have my config file setup:

[Code]....

As a side-note...when I included "Option Indexes", it allowed me to view the passwd.dav file from firefox!That doesn't seem very good...

View 4 Replies View Related

CentOS 5 Server :: HTTPD - Forbidden Dont Have Permission To Access /index.html?

Mar 3, 2010

Basicly just installed a fresh version of Cent OS 5.4 with apache httpd installed automaticly during the installation. The http daemon is running and when navigating to localhost i get the welcome cent os apache page thingy. The problem is when i put an index.html file in /var/http/www then try and navigation to localhost I get a 403 forbidden error.

View 2 Replies View Related

Fedora :: F11 Apache 403 Forbidden Using Alias Directory?

Nov 20, 2009

I have searched the forum high and low for the solution with no success, so I will now post this problem, with all known facts. Linux (and Fedora) is brand new to me so I'm somewhat illiterate with the language and recommendations from reading other threads. Please bare with me. I'm reading the book Beginning PHP and MySQL from Novice to Professional by Cristian Darie.The book has you create an Alias directory for creating the tshirtshop web-based application.

The book uses the directory /home/username/tshirtshop. However, I did not want this in the /home directory, so I created a new directory from the root directory /workspace/tshirtshop. Below are the areas of interest in the file httpd.conf (I restarted the httpd service each time I edited this file):

Code:
DocumentRoot "/var/www/html"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>

[Code]....

View 1 Replies View Related

Fedora Servers :: Forbidden Don't Have Permission To Access

Apr 9, 2011

before i using fedora 14, i was used fedora 8.... no problem in setting web server, all client (windows XP) can access my resources in var/www/html/index.html but after upgrade to fedora 14.... this is a problem

"forbidden you don't have permission to access.... apache/2.2.16 (Fedora) server at 192.168.1.1 port 80" i had disable firewall also set SELinux to permissive

View 14 Replies View Related

Fedora Servers :: File Permissions - Get A 403 Forbidden ?

Jul 28, 2011

I have a web server set up, and for a while I just let it show the default "test" page, but now I am wanting to actually show something of my own.

I downloaded a couple templates from the internet (free ones), and copied the first one to the /var/www/html folder (including subfolders for ./images and such), and it used an index.php file, but when viewing in my browser, it showed the actual text of the file, not the graphics and images and stuff.

So I deleted those files and "installed" the second template, which uses an index.html file instead.

I am once again getting the default "Apache is running but not configured" page again, even though I have verified multiple times that the index.html file is located in /var/www/html

if I include the index.html file in the path to my website, I get a 403 Forbidden, so I'm thinking it has to do with file ownership or permissions.

I placed the files there as "root", and have tried several combinations of possible permissions (root:root is the owner:group) without any luck.

View 5 Replies View Related

Fedora Servers :: Mediawiki Upgrade - Get 403 Forbidden Message

May 7, 2011

I just upgraded to mediawiki-1.16.4-58.fc13.x86_64 on my fedora box and did:

Code:

Now I get 403 Forbidden message when I access.

I find several config files related to mediawiki, and modified them, but I still see 403.

View 4 Replies View Related

Fedora Servers :: Apache 403 Forbidden Error On Symlinks

Aug 12, 2011

the hard drive on my web server died so I replaced it and installed Fedora 15. I have been installing the OS on a small drive and then mounting other drive(s) for storage and did the same thing here. The problem is that I cannot get Apache to follow symlinks. Apache is partially working, it will serve my index.html page in the web page root directory and I made another directory called webtest and put some files in, and that worked fine. I made a symlink from the root directory to a folder on the mounted drive but when I try to access it, it gives me the old 403 Forbidden error. I also made a similar link in the webtest directory, I can view the other files in that directory but it does not show the link - also, trying to force it by typing the full path in the browser gives the same 403 error.

I have checked the permissions and SELinux types (using ls -Z) and they seem to be fine and I cannot find any .htaccess files. All the files on the mounted drive are owned by www:www but I also tried setting the user and group to www in httpd.conf and it still gave the same issue, so I changed them back to apache. I've been reading posts and sites on this for hours now and I'm still lost. I can post results of log files if they are of any use, I just wasn't sure what to post because it is somewhat working.

View 14 Replies View Related

Fedora Servers :: Apache Hosting User Public HTML - Forbidden 403

May 6, 2009

I have apache working,i have users set under admin group in /home/admin/username/html that is with an html publicfolder at the end, now permissions are set right, /html is set to mode 777, and the contents also inside them. But everytime i do a 10.0.11.25/~les i get a damn forbidden error code, its got me so pissed off and i dont' know whats the problem. This is the error i get: Forbidden 403 You don't have permission to access /~les on this server.

Code:

[Tue May 05 19:37:48 2009] [notice] Apache/2.2.11 (Unix) DAV/2 PHP/5.2.6 configured -- resuming normal operations
[Tue May 05 20:44:30 2009] [error] [client 10.3.0.254] (13)Permission denied: access to /~les denied

[code]....

View 10 Replies View Related

Fedora Servers :: Can't Get Httpd To Index

Feb 28, 2009

I am tyring to setup my webserver on Fedora 10 to do the following.

first, i want to require logins when people access my machine. This i have working through the .htaccess file.

Second, i want directories that do not have an index.html file to be auto indexed. This is where its not working for me. I get a 403.

the only change from the default setting in the httpd.conf file is AllowOverride AuthConfig

it would seem that the default settings for are

<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny

[Code].....

IF i put an index.html file in sub/ i no longer get a 403, i just get that file.

View 6 Replies View Related

Fedora Servers :: Accessing Index File By Hostname?

Sep 6, 2011

I have my home network up and running. I can access my index file by the ip I gave to eth0 - 192.168.0.2

I put this same ip into etc/hosts:
192.168.0.2 localhost localhost.localdomain
One space separates the hostnames from the ip in /etc/hosts.
The hostname command returns: localhost.localdomain

I have /etc/resolv.conf configured the right way, so I can use my isp's DNS servers. I know this because yum works and I can ping anywhere by url. The next step is to learn to access the index file by url locally on my own network.

View 7 Replies View Related

Fedora Servers :: Firefox Can't See Apache Index.html File

Aug 25, 2011

My setup is two laptops connected by crossover cable. One runs Windows xp the other Fedora 13. Neither is connected to internet. I'm using a subnet of 192.168.1.x On Fedora eth0 is up, apache runs because it creates pidfile. Everything pings fine. Windows xp ip pings fine from command line. Gave Windows xp a static ip of 192.168.1.1 mask 255.255.255.0 and gateway 1.2, same as eth0. xp says it sees the server. eth0 is up.

DirectoryIndex looks at index.html. I created that file with very simple code and put it in document root. Document root permissions are 755. Access_log 770. Error_log 644. Apache User 755. Listen 80 When I type the ip for eth0 (192.168.1.2) into firefox, firefox gives me an error message - can't find server. The connection status says its connected.

The error log includes a line: [warn]./mod_dnssd.c:No services found to register I don't know what this means. Apache is not writing to access_log. When I cat the path to access_log I get nothing, then a command prompt. I'm looking for the part I'm missing that will let Apache serve that index.html file to firefox so I can see how my code looks to firefox as I go.

View 6 Replies View Related

Software :: Forbidden (/var/www/directory Access Error)

Jul 22, 2011

I am trying to browse in /var/www/directory and it giving me a following error. Forbidden You don't have permission to access /directory/ on this server. Apache/2.2.14 (Ubuntu)Server at localhost Port 80 I have just copied that directory to /var/www. What might be wrong.

View 14 Replies View Related

Programming :: Identify Users Who Forbidden Files In Home Directory

May 16, 2011

I have to create a script to identify those users who have un-sanctioned (forbidden) files in their home directory. I tried something like this (this is a try and I need some opinions):

Code: #!/bin/bash
user_belongs() {
if `groups $var1 | grep $var2`
then
return 0 else
return 1
fi
} .....

View 1 Replies View Related

Ubuntu :: How To Put Index.php In Root Directory

Jul 27, 2010

How do I put index.php in my root directory, since I think because of a missing index.php or index.html, I am getting a forbidden 403 error.

View 1 Replies View Related

Software :: How To Generate Index Directory

May 11, 2011

We used VoilaSVN for SVN search. Some time ago it stopped working for an unknown reason. I was searching for a solution, but the voila project seems to be dead, the web pages are not available. I assume the problem is in indexing. Does anybody know how to generate the index directory?

View 1 Replies View Related

Ubuntu Servers :: Apache Forbidden 403 Easy Fix?

Jun 14, 2010

I am using the Desktop Version of Ubuntu Lucid Lynx, but I am posting here because I think all of you server guru's can help me. I am setting up my desktop as a mobile development server. I am hoping to eventually have it work with an intranet. Anyways I am trying to configure this and I hit a snag.

I have a 403 forbidden error. I've read around and I thought it might have something to do with SELinux

Here is my Virtualhost file

Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName starace
DocumentRoot /home/chris/public_html

[Code]...

View 5 Replies View Related

Ubuntu Servers :: Ssh Logout Cause 403 Forbidden Errors

Feb 11, 2011

i have strange problem on my wordpress-powered blog.while i'm connecting to server by ssh or physical console, everything works fine.however, when i tries to logout almost immediately 403 forbidden error pops up on every pages of my website.if there are two or more connections (like physical console and ssh terminal), terminate one of them does not cause 403 forbidden. but it shows 403 forbidden error page right after i terminated all connections.i can find two types of error in apache error.log while it shows 403 forbidden page.

Code:

(13)Permission denied: access to / denied

Code:

(13)Permission denied: /home/user/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable(one strange part is my DocumentRoot is /home/user/www not /home/user)i gave 755 permission to all files and directories in DocumentRoot(which is /home/user/www), but still apache show me the forbidden error page right after logout.i use ubuntu 10.04 lts and i use apt-get command to install all package that i'm using now (apache,mysql,php,mrtg,snmpd,vsftpd,ssh,etc).these are my virtual host config file and apache2.conf. (httpd.conf is empty)

Code:

<VirtualHost *:80>
DocumentRoot /home/user/www/
<Directory /home/user/www/>

[code].....

View 2 Replies View Related

Ubuntu Servers :: FTP And Apache - Page Forbidden

May 7, 2011

Since I upgraded to 11.04 on my Server edition I have been experiencing some problems with my FTP-server and Apache. Apache just says that the page is "forbidden" if I'm not logged in on the server, which means I need to go to the server and physically log in or I can do it trough ssh but then when I close my ssh client on my work computer the page is "forbidden" again. And I cant seem to reach the FTP-server from an external address so I need to be in the network to access it.

It says something like:
Code:
An error occurred opening that folder on the FTP Server. Make sure you have permission to access that folder.
200 Switching to ASCII mode.
227 Entering Passive Mode (192,168,0,194,233,166)

View 3 Replies View Related

Ubuntu Servers :: Apache2 Change Root Forbidden 403?

Aug 13, 2010

Long story Short, I had to reinstall 9.10 (after a failed 10.04 upgrade) and therefore fresh install of everything.

I installed Apache2 as per [URL] and all works fine.

Changing the root in /etc/apache2/sites-available/default to a folder in my home directory /home/user/subfldr1/www results in a forbidden 403 error.

I've tried changing group owner, given 777 permissions, read and tried all sorts of solutions, but nothing seems to be working.

View 3 Replies View Related

Ubuntu Servers :: 10.04 Not Liking Localhost - 402 Forbidden Error

Mar 3, 2011

I am still a newbie at Linux, but have managed to get about 6 different Kubuntu systems up and all running a localhost test web server. I always start out with a server .iso and after installing I add a kubuntu desktop GUI. I have an old laptop that was running 8.04 server w/xubuntu desktop gui and it was running my test web pages through localhost. I got a wild hair and thought it was about time to upgrade to 10.04 server. I always do a complete install and this time I tried lubuntu desktop GUI. I really like lubuntu but for some reason can not get localhost to run. I get a 402 forbidden error. same error with 127.0.0.1 Here is what I get when I run this command

[Code]...

View 4 Replies View Related

Server :: Apache - A Default Index.cgi When Directory Is Browsed ?

May 20, 2010

I've set up Apache once or twice in the past, but my memory is escaping me on something simple. This time the OS is Cent5 with Apache/2.2.3

When a user browses to: [url] <nothing else> I get as expected, a '403 'You don't have permission to access' because directory browsing is off for obvious reasons :-) If I enter the full URL to the script: [url]it works as expected. No issues there.

What I would *like* to do (and I'm sure I've done this before) is to set the cgi-bin up so if someone leaves off the script name: http://host.name/cgi-bin/ it serves "index.cgi" pretty much in the same way that if you browse to the root http directory, you index.html||php would normally serve. I just can't remember how to achieve this simple thing and I'm starting to wonder 'am I mad? - Did I do this before?'.

Sanity check - index.cgi exists and runs if you call it directly thus:

Code:

I have added:

Code:

That made no difference.

Tried:

Code:

For good measure, but that made no difference - and even

Code:

and no amount of playing with 'Options Indexes || -Indexes || +Indexes' helped me.

Like I say, I'm sure I've done it before (on Debian/Ubuntu) without the need to start playing with redirects or .htaccess - but I'll be blowed if I can remember how.

View 2 Replies View Related

Slackware :: Error: Cannot Open Basenames Index Using Db3 - No Such File Or Directory (2)

May 11, 2010

I am trying to install flash-plugin-10.0.45.2-release.i386.rpm so I inputed the folowing command and got the following error output:

Code:
bash-3.1$ rpm -i *.rpm
error: cannot open Basenames index using db3 - No such file or directory (2)
error: cannot open Providename index using db3 - No such file or directory (2)
error: cannot open Conflictname index using db3 - No such file or directory (2)
error: Failed dependencies:

[Code]...

View 3 Replies View Related

Fedora Servers :: DHCP Server - Custom Options Not Working

Apr 8, 2010

I am trying to get custom options to work.

This is my Dhcpd.conf file

This shows that I have 3 custom option in RED.

Now when I try to pull an Ip from the 96.63.0.0/24 subnet I do not see the options in the DHCPACK from the server. The client gets an IP 96.63.0.12 but no options are present in the DHCPACK or any other DHCP transaction. I have confirmed this trhough tcpdumps on the server and client.

The server version I am using is:

The version of the DHCP server is :

Internet Systems Consortium DHCP Server V3.0.6-Fedora

View 1 Replies View Related

Ubuntu Servers ::configuring FCGI To Run Redmine - Forbidden You Don't Have Permission To Access

Nov 14, 2010

I have installed Redmine according to the instructions on [url] according to the mod_cgi instructions which seem to be the easiest to follow.

The script installed in the installation directory was called 'dispatch.fcgi', and not parsing when I visited the page through the browser, just displaying the contents of the script. OK, so I installed the apache mod libapache2-mod-fastcgi using apt-get. Then 'a2enmod fcgid' followed by an apache restart.

Now when I visit the Redmine folder through the web browser I get 'Forbidden You don't have permission to access /redmine/dispatch.fcgi on this server.'

I checked to ensure www-data owns all files and has correct permissions to the folder. But this doesn't seem to work.

View 3 Replies View Related

Ubuntu Servers :: Fcannot Access Cgi-bin From Local-host - Permission Forbidden

Jun 16, 2011

Using httpd - everything usually works but I have written a cgi script and placed in cgi-bin but i cannot access this dir and keep getting forbidden messages. I have tried adding my root and usual user to the /etc/group file against the user stipulated in the httpd.conf file but i still can't access the cgi script i wrote (in browser - localhost/cgibin/myscrippt.cgi) when i place it in the cgi-bin under htdocs. i have also chmod 755 directory and files.

View 1 Replies View Related

General :: Remove Index.html File Alone In Every Directory Via Bash Script

Jul 7, 2011

I want to remove the index.html file alone in the every directory via bash script, for example i have 5 directories in the path /var/www/vhost

anish
kumar
linux
question
friend

each directories have index.html file now i want to replace the index.html file alone from the other directory /var/tmp/vhosbak

anish
kumar
linux
question
friend

How we can do this using script?

View 5 Replies View Related

Ubuntu Servers :: When Place An Index.PHP, Get Nothing At All?

Jan 6, 2011

got my server up, installed FTP and all those goodies. And then i got some fun. Index.HTML shows perfectly. But when i place an Index.PHP, i get nothing at all.I get this error actuallyServer error.The website encountered an errorretrieving http://192.168.1.102/. It may be down for maintenance or configured incorrectly.Here are some suggestions:Reload this web page later. More information on this error

View 7 Replies View Related

Ubuntu Servers :: Get CGI Script To Run Instead Of Index.html?

Jan 4, 2010

I have a ubuntu 8.04 server running apache2 and would like to allow a CGI script to be executed when visitors come to my site.The purpose of this is to determine which browser the visitor is using and redirect them to the relevant version of the site.

View 9 Replies View Related

Ubuntu Servers :: Apache Ignores Index Files?

May 10, 2011

My apache ignores index files (index.php ,index.html ,index.htm , ...) and while these files exists in directory apache lists directory content!I mean http://localhost/test/ lists directory content instead of showing index.php!

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved