Apache 2.4 directory cannot display "Last modified" "Size" "Description"


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems AIX Apache 2.4 directory cannot display "Last modified" "Size" "Description"
# 1  
Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all,
i have had AIX 7.2

Code:
[root@dmdw1]:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built:   May 25 2015 04:58:27
 [root@dmdw1]:/#

Code:
[root@dmdw1]:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 mpm_worker_module (static)
 authn_file_module (shared)
 authn_dbm_module (shared)
 authn_anon_module (shared)
 authn_dbd_module (shared)
 authn_socache_module (shared)
 authn_core_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_dbm_module (shared)
 authz_owner_module (shared)
 authz_dbd_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 auth_form_module (shared)
 auth_digest_module (shared)
 allowmethods_module (shared)
 file_cache_module (shared)
 cache_module (shared)
 cache_disk_module (shared)
 cache_socache_module (shared)
 socache_shmcb_module (shared)
 socache_dbm_module (shared)
 socache_memcache_module (shared)
 watchdog_module (shared)
 macro_module (shared)
 dbd_module (shared)
 dumpio_module (shared)
 echo_module (shared)
 buffer_module (shared)
 data_module (shared)
 ratelimit_module (shared)
 reqtimeout_module (shared)
 ext_filter_module (shared)
 request_module (shared)
 include_module (shared)
 filter_module (shared)
 reflector_module (shared)
 substitute_module (shared)
 sed_module (shared)
 charset_lite_module (shared)
 deflate_module (shared)
 xml2enc_module (shared)
 proxy_html_module (shared)
 mime_module (shared)
 log_config_module (shared)
 log_debug_module (shared)
 log_forensic_module (shared)
 logio_module (shared)
 lua_module (shared)
 env_module (shared)
 mime_magic_module (shared)
 expires_module (shared)
 headers_module (shared)
 usertrack_module (shared)
 unique_id_module (shared)
 setenvif_module (shared)
 version_module (shared)
 remoteip_module (shared)
 proxy_module (shared)
 proxy_connect_module (shared)
 proxy_ftp_module (shared)
 proxy_http_module (shared)
 proxy_fcgi_module (shared)
 proxy_scgi_module (shared)
 proxy_fdpass_module (shared)
 proxy_wstunnel_module (shared)
 proxy_ajp_module (shared)
 proxy_balancer_module (shared)
 proxy_express_module (shared)
 session_module (shared)
 session_cookie_module (shared)
 session_dbd_module (shared)
 slotmem_shm_module (shared)
 slotmem_plain_module (shared)
 ssl_module (shared)
 dialup_module (shared)
 lbmethod_byrequests_module (shared)
 lbmethod_bytraffic_module (shared)
 lbmethod_bybusyness_module (shared)
 lbmethod_heartbeat_module (shared)
 unixd_module (shared)
 heartbeat_module (shared)
 heartmonitor_module (shared)
 dav_module (shared)
 status_module (shared)
 autoindex_module (shared) <-------------
 asis_module (shared)
 info_module (shared)
 cgid_module (shared)
 cgi_module (shared)
 dav_fs_module (shared)
 dav_lock_module (shared)
 vhost_alias_module (shared)
 negotiation_module (shared)
 dir_module (shared)
 imagemap_module (shared)
 actions_module (shared)
 speling_module (shared)
 userdir_module (shared)
 alias_module (shared)
 rewrite_module (shared)
[root@dmdw1]:/#


---- AIX httpd.conf



Code:
#DocumentRoot "/usr/IBMAHS/htdocs"
DocumentRoot "/home/oracle/load"
<Directory "/home/oracle/load">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # core - Apache HTTP Server Version 2.4
    # for more information.
    #
    Options Indexes FollowSymLinks
    AddDefaultCharset windows-1251
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   AllowOverride FileInfo AuthConfig Limit
    #
    AllowOverride None

    #
    # Controls who can get stuff from this server.
    #
    Require all granted
</Directory>


I upload images between linux apache directory view and AIX apache directory view. AIX cannot display "Last modified" "Size" "Description" . How to solve this issue ?
Apache 2.4 directory cannot display &quot;Last modified&quot; &quot;Size&quot; &quot;Description&quot;-linux_directory12343324png
Apache 2.4 directory cannot display &quot;Last modified&quot; &quot;Size&quot; &quot;Description&quot;-aix_apache_directorypng

Last edited by penchev; 10-29-2019 at 04:59 AM..
# 2  
You can try this Apache2 directive:

Fancy Indexing

Quote:
Fancy indexing shows the files plus additional information about them like the date the file is last modified, their size and description. To use that type of indexing, you should add the following two lines in a file named .htaccess in the destination folder:

Code:
Options +Indexes
IndexOptions +FancyIndexing

This User Gave Thanks to Neo For This Post:
# 3  
Thanks you NEO, with



Code:
Options +Indexes 
IndexOptions +FancyIndexing

work fine. You resolve my problem. Thanks again.
Apache 2.4 directory cannot display &quot;Last modified&quot; &quot;Size&quot; &quot;Description&quot;-aix_apache_directory_work_fine_nowpng
# 4  
Welcome!

Thanks for posting back with your positive results.
This User Gave Thanks to Neo For This Post:
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #588
Difficulty: Easy
A linear search algorithm is also known as sequential search.
True or False?

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

3. Solaris

The slices "usr", "opt", "tmp" disappeared!!! Help please.

The system don't boot. on the screen appears following: press enter to maintenance (or type CTRL-D to continue)...I checked with format command. ... the slices "0-root","1-swap","2-backup" exist. ...the slises "3-var","6-usr" -unassigned. :( (16 Replies)
Discussion started by: wolfgang
16 Replies

4. Shell Programming and Scripting

how to use "cut" or "awk" or "sed" to remove a string

logs: "/home/abc/public_html/index.php" "/home/abc/public_html/index.php" "/home/xyz/public_html/index.php" "/home/xyz/public_html/index.php" "/home/xyz/public_html/index.php" how to use "cut" or "awk" or "sed" to get the following result: abc abc xyz xyz xyz (8 Replies)
Discussion started by: timmywong
8 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

6. Shell Programming and Scripting

ps -ef | grep "string1" "string2" " "string3"

Hi all, can any one suggest me the script to grep multiple strings from ps -ef pls correct the below script . its not working/ i want to print OK if all the below process are running in my solaris system. else i want to print NOT OK. bash-3.00$ ps -ef | grep blu lscpusr 48 42 ... (11 Replies)
Discussion started by: steve2216
11 Replies

7. Shell Programming and Scripting

Delete files older than "x" if directory size is greater than "y"

I wrote a script to delete files which are older than "x" days, if the size of the directory is greater than "y" #!/bin/bash du -hs $1 while read SIZE ENTRY do if ; then find $1 -mtime +$2 -exec rm -f {} \; echo "Files older than $2 days deleted" else echo "free Space available"... (4 Replies)
Discussion started by: JamesCarter
4 Replies

8. Shell Programming and Scripting

cat $como_file | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g'

hi All, cat file_name | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g' Can this be done by using sed or awk alone (4 Replies)
Discussion started by: harshakusam
4 Replies

9. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

Featured Tech Videos