"Daniel Tryba" <ne****************@canopus.nl> wrote in message
news:cl**********@news.tue.nl...
Support <di***@my-deja.com> wrote: I am running RedHat & Apache. RedHat does not allow creating more
that 32000 subdirectories in one folder due to #defined constant
limitation in the core code.
What filesystem are you using?
I need to display 47000 directories on web page:
e.g. mydomain.com/andrew , mydomain.com/bill , etc.
[snip]
Modifying HTML seems to be a big job to do.
No kidding :)
But a regexp equivalent to the rule below seems to be more efficient
than using the rewritengine.
Can anyone suggest a solution using mod_rewrite?
A simple workaround would be to reorganize directories like:
/a/andrew
or
/b/i/bill
With the rewrite engine it would become something like:
RewriteRule ^(.)(.*) /$1/$1$2
Or to reduce the amount of directory reorganization, just split them up into
two folders:
RewriteRule ^([a-j].*) /a-j/$1
RewriteRule ^(.*) /the-rest/$1