MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: amitkumar on 2017-02-08, 09:30:16

Title: Directory index is not working (SOLVED)
Post by: amitkumar on 2017-02-08, 09:30:16
Hello directory index is not working

(https://preview.ibb.co/e6ZYWF/directory1.png)
sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016120401
   - Web: hiawatha-10.4.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: vps.domain.ca
C. Services:
   1. MySQL: MariaDB-server-10.0.28-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.28-1.ius.el6.x86_64
        - Multiple:
          * php52m-5.2.17-102.mr.el6
          * php53m-5.3.29-1.ius.el6
          * php54m-5.4.45-1.ius.el6
          * php55m-5.5.38-1.ius.el6
          * php56m-5.6.28-1.ius.el6
          * php70m-7.0.13-1.w6
      - Used: php56m-fpm
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.4.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.43-2.el6.x86_64
     - Nginx: nginx-1.11.6-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: none
      - smtp: none
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. Stats: awstats
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1829       1626        202          0        205        822
   -/+ buffers/cache:        598       1230
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1       9.8G  5.1G  4.3G  55% /
Title: Re: Directory index is not working
Post by: MRatWork on 2017-02-08, 11:44:50
DId you tried 'sh /script/fixweb; sh /script/restart-web'?.
Title: Re: Directory index is not working
Post by: amitkumar on 2017-02-08, 11:57:00
yes i tried both,

Still showing 403 error not the directory files.
http://songplaylist.in/hiren/

Please check the image. I did the right config or need to do something else.
Title: Re: Directory index is not working
Post by: MRatWork on 2017-02-08, 13:08:42
Try 'home.html' in document root instead '/hiren/home.html'.
Title: Re: Directory index is not working
Post by: amitkumar on 2017-02-08, 13:42:15
Yes tried its not working..

(http://www.linuxscrew.com/wp-content/uploads/2008/06/directory_index.png)

I need to see data like this in that hiren folder.
Title: Re: Directory index is not working
Post by: MRatWork on 2017-02-08, 14:01:23
Did file(s) exists in this directory (like home.html)?.
Title: Re: Directory index is not working
Post by: amitkumar on 2017-02-08, 15:27:38
yes i just made the file

home.html


I want data like above image...  Like this.

(http://www.linuxscrew.com/wp-content/uploads/2008/06/directory_index.png)

like we see the data through ftp.
Title: Re: Directory index is not working
Post by: MRatWork on 2017-02-08, 15:35:27
Did you click 'Enable Directory Index' and remove file where declare in 'Index File Order'?.
Title: Re: Directory index is not working
Post by: amitkumar on 2017-02-09, 07:28:16
where is enable directory index option???

i just click on directory index.
Title: Re: Directory index is not working
Post by: MRatWork on 2017-02-09, 07:53:12
In 'web basics'.
Title: Re: Directory index is not working
Post by: amitkumar on 2017-02-09, 08:01:48
can you show me the screenshot ?? i am unable to find it.

i can see only directory indexes in advanced

(https://image.ibb.co/eCtwJv/dd.png)
Title: Re: Directory index is not working
Post by: MRatWork on 2017-02-09, 08:51:26
Go to 'admin > all > all domains > (select one) > web features'.
Title: Re: Directory index is not working
Post by: amitkumar on 2017-02-09, 09:39:50
Thank you so much sir.

working.