Koozali.org: home of the SME Server

How to allow index of ibay

Offline calisun

  • *
  • 620
  • +0/-1
How to allow index of ibay
« on: March 04, 2006, 12:42:15 AM »
I know that indexing of ibay from the web when there is no index.html has been disabled for security reasons, but how do I enable it for one specific ibay?
I have a password protected ibay from where I want to allow employees to download documents when they are outside of the office. I will frequently add and delete files, so I don't want to mess with constantly creating/ recreating html file to list files.
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline dsemuk

  • *****
  • 269
  • +0/-0
How to allow index of ibay
« Reply #1 on: March 04, 2006, 12:49:58 AM »
ModIndexer sounds like it would suit your needs, but without the security risk of having everyone see all the contents of an iBay

Do a serch for ModIndexer and here to get it working on SME7

http://forums.contribs.org/index.php?topic=30942.0

Dave
--
Esmith/Mitel/SME server  :-D...

Offline calisun

  • *
  • 620
  • +0/-1
How to allow index of ibay
« Reply #2 on: March 04, 2006, 11:50:19 AM »
There would be no security risk in my case because the ibay I want to index is password protected, but I will give ModIndexer a try.
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline calisun

  • *
  • 620
  • +0/-1
How to allow index of ibay
« Reply #3 on: March 04, 2006, 11:50:57 AM »
I have followed the instruction in the link to enable ModIndexer, but now after reboot, I can't access server-manager, webmail or my main web page.
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline byte

  • *
  • 2,183
  • +2/-0
How to allow index of ibay
« Reply #4 on: March 04, 2006, 12:11:40 PM »
What do your logs say? can you undo the changes and it works?!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline dsemuk

  • *****
  • 269
  • +0/-0
How to allow index of ibay
« Reply #5 on: March 04, 2006, 12:21:44 PM »
Which Modindex Contrib did you install?

And you followed the instructions on how to enable mod perl?

DAve
--
Esmith/Mitel/SME server  :-D...

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: How to allow index of ibay
« Reply #6 on: March 04, 2006, 04:35:30 PM »
Quote from: "calisun"
I know that indexing of ibay from the web when there is no index.html has been disabled for security reasons, ...

The default setting has Indexes enabled:

/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess40ibays

Code: [Select]
       my $indexes = $properties{'Indexes'} || "enabled";
        $OUT .= "\n";
        $OUT .= "#--------------------------------------------------\n";
        $OUT .= "# $key ibay directories ($properties{'Name'})\n";
        $OUT .= "#--------------------------------------------------\n";

        $OUT .= "\n";
        $OUT .= "<Directory /home/e-smith/files/ibays/$key/html>\n";
        $OUT .= "    Options None\n";
        $OUT .= "    Options +Indexes\n" if ($indexes eq 'enabled');

You must have some other issue or misconfiguration.

Darrell

Offline ajkeane

  • *****
  • 187
  • +0/-0
    • http://keane.co.nz
How to allow index of ibay
« Reply #7 on: March 05, 2006, 05:41:09 AM »
Is there actually a version of modindexer that works on SME7?

I installed gjz-mitel-modindex-0.0.4-4.noarch but it has broken my webserver.

I am now unable to access the server manager webmail or any ibays.

I have uninstalled the rpm but this has not helped.

Does anyone have any ideas?

Thanks

Tony
...

Offline ajkeane

  • *****
  • 187
  • +0/-0
    • http://keane.co.nz
How to allow index of ibay
« Reply #8 on: March 05, 2006, 07:42:19 AM »
OK after further investigation the problem seems to stem frpm mod_perl if I disable it the webserver then behaves correctly but when enabled everything stops displaying.

Any thoughts anyone or better still could someone else try enabling mod_perl and see if it kills there web server.

Tony
...

Offline calisun

  • *
  • 620
  • +0/-1
How to allow index of ibay
« Reply #9 on: March 05, 2006, 11:04:44 AM »
Same conclusion here, mod_perl kills access to server-manager, webmail and my web page.
Disabling mod_perl returns everything back to normal
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline dsemuk

  • *****
  • 269
  • +0/-0
How to allow index of ibay
« Reply #10 on: March 05, 2006, 11:54:17 AM »
I'm waiting for pre4 to hit the servers, once I have that up and running I will enable mod_perl to see if it still has the same effect on Server Manager etc.


Dave
--
Esmith/Mitel/SME server  :-D...

Offline electroman00

  • *****
  • 491
  • +0/-0
How to allow index of ibay
« Reply #11 on: March 05, 2006, 03:41:15 PM »
Hi all

First what version of 7.0 is eveyone exibiting the problem.

I seem to recall a problem with phpsysinfo with the access settings

and this appear to be evolving into the same issue.

I have not installed modindex as of yet so I can not undertake investigation.

Offline dsemuk

  • *****
  • 269
  • +0/-0
How to allow index of ibay
« Reply #12 on: March 05, 2006, 03:44:50 PM »
On 7pre3 here but just enabling mod_perl as described here:

http://forums.contribs.org/index.php?topic=30942.0

The problems are as described.

Dave
--
Esmith/Mitel/SME server  :-D...

Offline electroman00

  • *****
  • 491
  • +0/-0
How to allow index of ibay
« Reply #13 on: March 05, 2006, 04:08:05 PM »
dsemuk

would you have a link to the modindex in question here?

Thanks

Offline dsemuk

  • *****
  • 269
  • +0/-0
--
Esmith/Mitel/SME server  :-D...