Apache Module mod_dir

Quick question to ask if there are any reasons why we could not use mod_dir. This will make life easier for us for a customization that we are working on.


However I do not want to setup something that has the potential to damage a matrix installation.



Thanks,

A

What does mod_dir do? :slight_smile:

[quote]What does mod_dir do? :slight_smile:
[right][post=“13269”]<{POST_SNAPBACK}>[/post][/right][/quote]



APACHE Reference: http://httpd.apache.org/docs/2.0/mod/mod_dir.html



In short it adds a trailing slash to the end of a URL. This allows apache to determine the difference between a folder and a file. If it is not turned on then apache scans the URL to see if there is a default index page or if the URL references a file. The slash tells apache that this is a directory.



As a side it also helps with a solution a developer on the project is working on.



More information can be found at: http://httpd.apache.org/docs/2.0/mod/mod_dir.html

In short I would like to know if this will harm a standard matrix installation. My gut feeling is that it will not.



Thanks,

A

Matrix doesn't care if there is a trailing slash or not, so you're right in that it shouldn't harm Matrix. :slight_smile: All of my test systems have mod_dir enabled.


(Sorry for being stupid earlier – its enabled by default on Red Hat distro versions of Apache, so I'd never even thought about it before).

[quote]Matrix doesn’t care if there is a trailing slash or not, so you’re right in that it shouldn’t harm Matrix. :slight_smile: All of my test systems have mod_dir enabled.


(Sorry for being stupid earlier – its enabled by default on Red Hat distro versions of Apache, so I’d never even thought about it before).

[right][post=“13273”]<{POST_SNAPBACK}>[/post][/right][/quote]



Thanks Avi, we will use mod_dir and let you know if there are any issues…:slight_smile: (EDIT: as you said we should be fine)



For other people reading this thread we are using a standard vanilla APACHE 2 install on a Solaris 10 container. This is why we did not have mod_dir by default as AVI’s installations do…whew…

[quote]Thanks Avi, we will  use mod_dir and let you know if there are any issues…:)  (EDIT: as you said we should be fine)


For other people reading this thread we are using a standard vanilla APACHE 2 install on a Solaris 10 container.  This is why we did not have mod_dir by default as AVI’s installations do…whew…

[right][post=“13274”]<{POST_SNAPBACK}>[/post][/right][/quote]



Also good to point out that the mod_dir only works on physical directories. Directories (folders) in Matrix are not processed by mod_dir.



A