Page 1 of 1

Fedora 13 New Install of S9y, apache won't start RESOLVED

Posted: Sat Aug 28, 2010 7:57 pm
by chiriqui
If I change the DocumentRoot to this:
DocumentRoot "/var/www/html/blog1

it won't load up?

> apachectl -k start
nothing happens when I change the path to /blog1
I have to go back to
DocumentRoot "/var/www/html"
to get httpd to load up.

I'm confused by this.. suggestions?

This is my setup.

/var/www/html/blog1
drwxr-xr-x. 14 root root 4096 Aug 27 07:48 blog1

total 440
drwxrwxrwx. 2 root root 4096 Aug 27 07:48 archives
drwxr-xr-x. 11 root root 4096 May 10 01:39 bundled-libs
-rw-r--r--. 1 root root 251442 May 10 01:41 checksums.inc.php
-rw-r--r--. 1 root root 9520 Jun 11 2009 comment.php
drwxr-xr-x. 5 root root 4096 May 10 01:38 deployment
drwxr-xr-x. 2 root root 4096 May 10 01:39 docs
-rw-r--r--. 1 root root 1571 Aug 22 2008 exit.php
drwxr-xr-x. 10 root root 4096 May 10 01:39 htmlarea
drwxr-xr-x. 5 root root 4096 May 10 01:39 include
-rw-r--r--. 1 root root 25110 Jun 11 2009 index.php
drwxr-xr-x. 3 root root 4096 May 10 01:39 lang
drwxrwxrwx. 32 root root 4096 May 10 01:39 plugins
-rw-r--r--. 1 root root 10428 Jan 30 2009 rss.php
-rw-r--r--. 1 root root 12730 Aug 27 2008 serendipity_admin_image_selector.php
-rw-r--r--. 1 root root 24276 May 22 2009 serendipity_admin.php
-rw-r--r--. 1 root root 15149 May 10 00:53 serendipity_config.inc.php
-rw-r--r--. 1 root root 2499 Jul 14 2009 serendipity.css.php
-rw-r--r--. 1 root root 526 Apr 6 2006 serendipity_define.js.php
-rw-r--r--. 1 root root 15068 Jul 14 2009 serendipity_editor.js
-rw-r--r--. 1 root root 448 Apr 6 2006 serendipity_xmlrpc.php
drwxr-xr-x. 2 root root 4096 May 10 01:39 sql
drwxr-xr-x. 26 root root 4096 May 10 01:39 templates
drwxrwxrwx. 2 root root 4096 May 10 01:39 templates_c
drwxrwxrwx. 2 root root 4096 May 10 01:39 uploads
-rw-r--r--. 1 root root 1469 Apr 6 2006 wfwcomment.php

Re: Fedora 13 New Installation of S9y, apache won't start

Posted: Sat Aug 28, 2010 8:28 pm
by garvinhicking
Hi!

When you change the document root you might need to change your .htaccess and serendipity path configuration as well, of course. You might want to lookup the apache documentation about what the DocumentRoot actually does...

Regards,
Garvin

Re: Fedora 13 New Installation of S9y, apache won't start

Posted: Sat Aug 28, 2010 8:35 pm
by chiriqui
.htaccess hasn't been implemented

and I don't get what you mean by serendipity path configuration.

In the past I simply setup httpd.conf with the documentroot path

I have one option left to me before I start with a fresh copy of s9y
to setup a Virtual Host for blog1, which eventually will be necessary,because I run more than one website. This way I leave the default DocumentRoot path as is


Resolved this problem now on to the next. I reinstalled s9y and for what ever reason that took care of the problem apache had loading. Now on to the next step where I call with > http://blog.biz/index.php and it times out.. why why why