Latest S9Y Permission error (resolved)

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
chiriqui
Regular
Posts: 55
Joined: Tue Jan 01, 2008 4:31 pm
Location: Paso Ancho, Rep. of Panama

Latest S9Y Permission error (resolved)

Post by chiriqui »

I extracted the Serendipity from a command line with "tar" instead of using the built in GUI Gnome tool. I guess that's what took care of that problem

Now on to the next problem. From a remote system the blog isn't formatting on the screen. It's all running down one side. From the localhost connection it looks normal


Can some one spot the problem here?

I am the administrator on the webserver I'm addressing in this posting

The error I get from http://localhost/mysite

Forbidden

You don't have permission to access /mysite on this server.

This is a a linux box running Fedora 12

Permissions are listed as follows:
html]# ls -adl ./*
drwxrwxrwx. 14 root root 4096 2010-01-14 09:30 ./mysite


[root@cletis mysite]# ls -adl ./*
drwxrwxrwx. 2 root root 4096 2010-01-14 09:30 ./archives
drwxr-xr-x. 11 root root 4096 2009-12-21 13:02 ./bundled-libs
-rw-r--r--. 1 root root 251442 2009-12-21 13:03 ./checksums.inc.php
-rw-r--r--. 1 root root 9520 2009-06-11 07:14 ./comment.php
drwxr-xr-x. 5 root root 4096 2009-12-21 13:02 ./deployment
drwxr-xr-x. 2 root root 4096 2009-12-21 13:02 ./docs
-rw-r--r--. 1 root root 1571 2008-08-22 04:20 ./exit.php
drwxr-xr-x. 10 root root 4096 2009-12-21 13:02 ./htmlarea
drwxr-xr-x. 5 root root 4096 2009-12-21 13:02 ./include
-rw-r--r--. 1 root root 25110 2009-06-11 07:14 ./index.php
drwxr-xr-x. 3 root root 4096 2009-12-21 13:02 ./lang
drwxrwxrwx. 32 root root 4096 2009-12-21 13:02 ./plugins
-rw-r--r--. 1 root root 10428 2009-01-30 08:03 ./rss.php
-rw-r--r--. 1 root root 12730 2008-08-27 14:20 ./serendipity_admin_image_selector.php
-rw-r--r--. 1 root root 24276 2009-05-22 03:20 ./serendipity_admin.php
-rw-r--r--. 1 root root 15149 2009-12-21 12:56 ./serendipity_config.inc.php
-rw-r--r--. 1 root root 2499 2009-07-14 04:22 ./serendipity.css.php
-rw-r--r--. 1 root root 526 2006-04-06 04:14 ./serendipity_define.js.php
-rw-r--r--. 1 root root 15068 2009-07-14 05:14 ./serendipity_editor.js
-rw-r--r--. 1 root root 448 2006-04-06 04:14 ./serendipity_xmlrpc.php
drwxr-xr-x. 2 root root 4096 2009-12-21 13:02 ./sql
drwxr-xr-x. 26 root root 4096 2009-12-21 13:02 ./templates
drwxrwxrwx. 2 root root 4096 2010-01-14 11:23 ./templates_c
drwxrwxrwx. 2 root root 4096 2009-12-21 13:02 ./uploads
-rw-r--r--. 1 root root 1469 2006-04-06 04:14 ./wfwcomment.php
[root@cletis mysite]#
The crucial Appache Setup setting I've used on previous Sy9 setups is as follows:
<Directory />
Options FollowSymLinks
AllowOverride All (your sy9 install docs have AllowOverride as two words)
</Directory>

NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot "/var/www/html"
</VirtualHost>

#
<VirtualHost *:80>
ServerAdmin craig@something.net
DocumentRoot /var/www/html/mysite
ServerName http://www.mysite.biz
ServerAlias mysite.biz
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
I have other directories with the upper directory of "html" where "mysite" is located and I do not have problems accessing them
from the Web browser on the same machine.
For example I have the php test file "info.php" that is under /html and it loads with http://localhost/info.php
or
I can access "myPhpAdim" directory with the /html directory with: http//localhost/phpMyAdmin/index.php

Mysql's database by the same name as the website "mysite" is empty (0) with "all privilages" to localhost and 127.0.0.1 for User
"root"

I'll mention the install docs mention 3 directories that the system comes with that one is to make sure the permissions are set as suggested to 777 or 775. I set those 3 folders to 777

One of the folders is 'Not" included"archives " with the S9y download which I created and assigned a 777 permission to. This is something I've always find missing over the yrs I've used Serendipity.



suggestions please
Last edited by chiriqui on Fri Jan 15, 2010 12:50 am, edited 1 time in total.
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: Latest S9Y Permission error

Post by kleinerChemiker »

try adding Options +Indexes to your vhost and also check if the indexfiles are set correctly.
chiriqui
Regular
Posts: 55
Joined: Tue Jan 01, 2008 4:31 pm
Location: Paso Ancho, Rep. of Panama

Re: Latest S9Y Permission error

Post by chiriqui »

within the "mysite" directory is one file by the name "index.php"
I gave it 775 status
but that didn't change anything.
there are not other "index" files withing that directory

Please elaborate "try adding Options +Indexes to your vhost"
I need an example of what you are suggesting

thank you
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: Latest S9Y Permission error

Post by kleinerChemiker »

<VirtualHost *:80>
ServerAdmin craig@something.net
DocumentRoot /var/www/html/mysite
ServerName http://www.mysite.biz
ServerAlias mysite.biz
Options +Indexes
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>

I didn't mean index-files, but the configuration for the name of indexfiles.
Post Reply