Fancy Indexing not working (XP) 1.7.7 [SOLVED]

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Fancy Indexing not working (XP) 1.7.7 [SOLVED]

Postby bblake » 10. December 2011 13:57

We use xampp in college for practicals and teaching, and I've recently upgraded from XAMPP 1.7.4 to 1.7.7

I notice that when you view a directory without any index file, that "fancyindexing" is not working by default, as was the case with XAMPP 1.7.4. Thus you don't get information such as "last modified date" and file size, and the ability to sort etc.

The apache configuration files seemed to specify fancy indexing, I could see no obvious reasons for the change in either httpd.conf or in httpd-autoindex.conf but to get fancy indexes I had to I put this directive into httpd.conf
IndexOptions FancyIndexing HTMLTable VersionSort
Then it worked.
My understanding was that fancyindexing was controlled by configuration file httpd-autoindex.conf in the conf/extra directory, and that is included and seems unchanged.... so why did I need to make the above change.

I'd be interested to understand what's happening.

By the way, the base XAMPP 1.7.7 installation takes 510MB of disk space up from 314MB on XAMPP 1.7.4 - that's a huge increase! I couldn't find any comments about what caused this increase.
Thanks,
Brendan.
bblake
 
Posts: 6
Joined: 22. March 2008 01:03
Location: London
Operating System: Windows XP

Re: "Fancy Indexing" not working in V1.7.7

Postby Sharley » 10. December 2011 13:59

Brendan, would you be so kind as to add your XAMPP version and Operating System to your profile:
viewtopic.php?f=16&t=48626
Thanks. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: "Fancy Indexing" not working in V1.7.7

Postby Altrea » 10. December 2011 19:56

Hi bblake,

bblake wrote:I notice that when you view a directory without any index file, that "fancyindexing" is not working by default, as was the case with XAMPP 1.7.4.

Thats not correct. In XAMPP 1.7.4 the fancyindexing isn't working too, for the same reason as in XAMPP 1.7.7.

bblake wrote:The apache configuration files seemed to specify fancy indexing

It is setted but it doesn't take effect because of a condition.

bblake wrote:My understanding was that fancyindexing was controlled by configuration file httpd-autoindex.conf in the conf/extra directory, and that is included and seems unchanged

In comparison with XAMPP 1.7.4 thats correct, but if you compare the file with XAMPP 1.7.1 it is different (in XAMPP 1.7.3 fancyindexing works too but because of a 3rd party module)

bblake wrote:I'd be interested to understand what's happening.

In your file \xampp\apache\conf\extra\httpd-autoindex.conf in line 11 you can find the line
Code: Select all
<IfModule autoindex_color_module>

That's a condition for the 3rd party module which was used in XAMPP 1.7.3 but isn't used any more in XAMPP 1.7.4 up to XAMPP 1.7.7.
The condition returns false so the text within the block doesn't take effect.

You have two possibilities to get it working:

1) change the condition in your \xampp\apache\conf\extra\httpd-autoindex.conf
Code: Select all
change
<IfModule autoindex_color_module>

to
<IfModule autoindex_module>


2) Find, download and include the 3rd party module mod_autoindex_color in your XAMPP 1.7.7 installation and load this module insteal of the mod_autoindex module in your httpd.conf. (Be careful, that the module can run with your Apache version!)

bblake wrote:By the way, the base XAMPP 1.7.7 installation takes 510MB of disk space up from 314MB on XAMPP 1.7.4 - that's a huge increase! I couldn't find any comments about what caused this increase.

Again that information is not correct.

here my comparisons:
XAMPP 1.7.1 (220MB ~ 233MB on disk)
XAMPP 1.7.3 (273MB ~ 294MB on disk)
XAMPP 1.7.4 (459MB ~ 496MB on disk)
XAMPP 1.7.7 (477MB ~ 499MB on disk)

You see, the big difference is from XAMPP 1.7.3 to XAMPP 1.7.4.

last words:
I think you haven't upgraded from XAMPP 1.7.4 but from XAMPP 1.7.3, because all of your information fit on that version. This false information can make bugtracking for us really difficult. Next time please double check version information you post in your thread. This can make life for all of us much easier.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8298
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: "Fancy Indexing" not working in V1.7.7

Postby bblake » 11. December 2011 11:00

Dear Altrea,

Thank you for such a comprehensive and helpful reply.

You are absolutely correct - I upgraded from XAMPP 1.7.3, but incorrectly remembered the level. Your reply does indeed explain exactly what happened - many thanks indeed.

I have changed my own solution to your first recommendation ie:
(1) change the condition in your \xampp\apache\conf\extra\httpd-autoindex.conf
That is more than sufficient for my needs, works fine, and mine is not really correct.

So that one is solved.

Going back to the size of the xampp directory. I am running 32 bit Windows XP, and downloaded the .7z version, I recall.
This has created a folder which has "size on disk" = 532MB (file sizes are 510 MB = 535,360,301 bytes). I've not added anything significant myself.
That's not far outside your sizes, but may perhaps be a consequence of not using the installer. The directory that has increased most in size is mysql.

Thanks again,
Thanks,
Brendan.
bblake
 
Posts: 6
Joined: 22. March 2008 01:03
Location: London
Operating System: Windows XP

Re: "Fancy Indexing" not working in V1.7.7

Postby Altrea » 11. December 2011 20:30

Fancy Indexing is working, so i marked your thread as solved :D

bblake wrote:That's not far outside your sizes, but may perhaps be a consequence of not using the installer.

I wasn't using the Installer version, but the .zip Version.

bblake wrote:The directory that has increased most in size is mysql.

Thats correct. Some things can explain the increase:
- After XAMPP 1.7.3 the XAMPP Developer for Windows changed. Maybe the developers used different sources or compile them different.
- Since XAMPP 1.7.4 MySQL 5.5 is used. XAMPP 1.7.3 was using MySQL 5.1. Maybe MySQL has bloated itself.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8298
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: [solved]"Fancy Indexing" not working in V1.7.7

Postby JonB » 11. December 2011 21:06

@ OP

A good tool for exploring differences graphically is Java Disk Indexer. I use it all the time for 'what happened to that disk space'???

http://www.jgoodies.com/freeware/jdiskreport/

I used it this AM in fact on a drive where I seemed to have a 'gig or two missing'...

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 29 guests