Koozali.org: home of the SME Server

Only get index off folder??

Offline beeboob

  • ****
  • 135
  • +0/-0
    • http://www.normal.dk
Only get index off folder??
« Reply #15 on: May 15, 2006, 02:05:35 PM »
When i follow you guide i get:

Forbidden

You don't have permission to access /conflux on this server.
-------------------------------
Webber Wana Bee

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Only get index off folder??
« Reply #16 on: May 15, 2006, 02:14:39 PM »
Can you post the last lines of your /var/log/httpd/error_log file?

Can you post the contents of the configuration template (90esmithAccess50conflux file) you made?

Did you set the /opt/conflux directory to be owned by the www user with the chown command?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline beeboob

  • ****
  • 135
  • +0/-0
    • http://www.normal.dk
Only get index off folder??
« Reply #17 on: May 15, 2006, 02:17:36 PM »
first the error log:

Syntax error on line 974 of /etc/httpd/conf/httpd.conf:
order takes one argument, 'allow,deny', 'deny,allow', or 'mutual-failure'
[Mon May 15 13:49:14 2006] [warn] RSA server certificate CommonName (CN) server' does NOT match server name!?
[Mon May 15 13:49:14 2006] [notice] Digest: generating secret for digest authentication ...
[Mon May 15 13:49:14 2006] [notice] Digest: done
[Mon May 15 13:49:15 2006] [warn] RSA server certificate CommonName (CN) server_name' does NOT match server name!?
[Mon May 15 13:49:15 2006] [notice] mod_python: Creating 4 session mutexes based on 150 max processes and 0 max threads.
[Mon May 15 13:49:15 2006] [notice] Apache configured -- resuming normal operations
[Mon May 15 13:49:19 2006] [notice] Graceful restart requested, doing restart
[Mon May 15 13:49:20 2006] [notice] Digest: generating secret for digest authentication ...
[Mon May 15 13:49:20 2006] [notice] Digest: done
[Mon May 15 13:49:20 2006] [warn] RSA server certificate CommonName (CN) atb-server.atb-huse.dk' does NOT match server name!?
[Mon May 15 13:49:20 2006] [notice] mod_python: Creating 4 session mutexes based on 150 max processes and 0 max threads.
[Mon May 15 13:49:20 2006] [notice] Apache configured -- resuming normal operations
[Mon May 15 13:49:24 2006] [error] [client 192.168.0.246] client denied by server configuration: /opt/conflux
[Mon May 15 13:51:10 2006] [error] [client 217.157.30.2] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Mon May 15 13:54:23 2006] [error] [client 192.168.0.246] client denied by server configuration: /opt/conflux
[Mon May 15 13:54:23 2006] [error] [client 192.168.0.246] client denied by server configuration: /opt/conflux
[Mon May 15 13:54:24 2006] [error] [client 192.168.0.246] client denied by server configuration: /opt/conflux
[Mon May 15 13:54:24 2006] [error] [client 192.168.0.246] client denied by server configuration: /opt/conflux
[Mon May 15 13:54:24 2006] [error] [client 192.168.0.246] client denied by server configuration: /opt/conflux
[Mon May 15 14:02:46 2006] [error] [client 192.168.0.246] client denied by server configuration: /opt/conflux
[Mon May 15 14:03:44 2006] [error] [client 217.157.30.2] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Mon May 15 14:06:57 2006] [error] [client 196.40.43.74] File does not exist: /home/e-smith/files/ibays/Primary/html/sender.php|mail|navn|adresse|postnr|by|telefon|besked, referer: http://www.domane.com/
[Mon May 15 14:06:57 2006] [error] [client 196.40.43.74] File does not exist: /home/e-smith/files/ibays/Primary/html/sender.php|mail|navn|adresse|postnr|by|telefon|besked, referer: http://www.domane.com/
[Mon May 15 14:09:33 2006] [error] [client 217.157.30.2] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
-------------------------------
Webber Wana Bee

Offline beeboob

  • ****
  • 135
  • +0/-0
    • http://www.normal.dk
Only get index off folder??
« Reply #18 on: May 15, 2006, 02:19:12 PM »
LoadModule python_module /usr/lib/httpd/modules/mod_python.so
Alias /conflux /opt/conflux
<Directory /opt/conflux>
  DirectoryIndex index.py
  PythonPath "sys.path+['/var/lib/conflux/lib/']"
AddHandler python-program .py
PythonHandler _Publisher
PythonDebug Off
DirectoryIndex index.py index.html
</Directory>
-------------------------------
Webber Wana Bee

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Only get index off folder??
« Reply #19 on: May 15, 2006, 02:26:45 PM »
The configuration template looks almost okay to me:

[list=1]
  • Add the following lines in there as well:
    Code: [Select]
     Order deny,allow[/li][/list]
      Allow from all
  • You might want to consider to remove the second DirectiryIndex line as it does not add any functionality as the index file should be index.py[/list:o]

    What is the output of the following command?
    Code: [Select]
    ll /opt
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline beeboob

  • ****
  • 135
  • +0/-0
    • http://www.normal.dk
Only get index off folder??
« Reply #20 on: May 15, 2006, 02:28:30 PM »
total 8
drwxr-xr-x   3 root root 4096 Feb 14 13:23 administration
drwxr-xr-x  19 root root 4096 May 15 11:30 conflux
-------------------------------
Webber Wana Bee

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Only get index off folder??
« Reply #21 on: May 15, 2006, 02:31:30 PM »
Quote from: "beeboob"
total 8
drwxr-xr-x   3 root root 4096 Feb 14 13:23 administration
drwxr-xr-x  19 root root 4096 May 15 11:30 conflux
This indicates to me you forgot to modify the ownership rights of the conflux directory. Do the following:
Code: [Select]
chown www:www /opt/confluxAfter that try to access it again using your browser.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline beeboob

  • ****
  • 135
  • +0/-0
    • http://www.normal.dk
Only get index off folder??
« Reply #22 on: May 15, 2006, 02:36:17 PM »
I still the same.

I tyr to access whit

server/conflux

www.mydomane.com/conflux

mydomane.com/comflux
-------------------------------
Webber Wana Bee

Offline beeboob

  • ****
  • 135
  • +0/-0
    • http://www.normal.dk
Only get index off folder??
« Reply #23 on: May 15, 2006, 02:36:45 PM »
I still the same.

I tyr to access whit

server/conflux

www.mydomane.com/conflux

mydomane.com/conflux
-------------------------------
Webber Wana Bee

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Only get index off folder??
« Reply #24 on: May 15, 2006, 02:44:49 PM »
Quote from: "beeboob"
LoadModule python_module /usr/lib/httpd/modules/mod_python.so
Alias /conflux /opt/conflux
<Directory /opt/conflux>
  DirectoryIndex index.py
  PythonPath "sys.path+['/var/lib/conflux/lib/']"
AddHandler python-program .py
PythonHandler _Publisher
PythonDebug Off
DirectoryIndex index.py index.html
</Directory>

Judging from this post you also forgot to add the following lines:
Code: [Select]
 Order deny,allow
  Allow from all


I think your configuration template should read like this:
Code: [Select]
LoadModule python_module /usr/lib/httpd/modules/mod_python.so
Alias /conflux /opt/conflux
<Directory /opt/conflux>
  Order deny,allow
  Allow from all
  DirectoryIndex index.py
  PythonPath "sys.path+['/var/lib/conflux/lib/']"
  AddHandler python-program .py
  PythonHandler _Publisher
  PythonDebug Off
</Directory>

After modfying the template expand it again and restart your webserver:
Code: [Select]
expand-template /etc/httpd/conf/httpd.conf
/etc/rc7.d/S86htppd-e-smith sigusr1

Try to access the conflux directory again.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline beeboob

  • ****
  • 135
  • +0/-0
    • http://www.normal.dk
Only get index off folder??
« Reply #25 on: May 15, 2006, 03:00:01 PM »
You er my today´s guru :)

Many thanks, You er so fine
-------------------------------
Webber Wana Bee

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Only get index off folder??
« Reply #26 on: May 15, 2006, 03:23:30 PM »
Quote from: "beeboob"
You er my today´s guru :)

Many thanks, You er so fine
You're welcome. I guess this means that you can access the conflux directory then. I will send an e-mail to the Conflux  support department to change their installation instructions to reflect the changes described in this thread.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline beeboob

  • ****
  • 135
  • +0/-0
    • http://www.normal.dk
Only get index off folder??
« Reply #27 on: May 15, 2006, 03:45:54 PM »
Yes i works,, And many thanks for that,,,

I have accesse it, and just now have to mank some fine adjustment, in the frontpage
-------------------------------
Webber Wana Bee

Offline beeboob

  • ****
  • 135
  • +0/-0
    • http://www.normal.dk
Only get index off folder??
« Reply #28 on: June 18, 2006, 02:22:30 PM »
This howto work on SME 7 rc2 and rc3

http://wiki.goldtel.com.au/conflux/howto1
-------------------------------
Webber Wana Bee