search for: myexists

Displaying 1 result from an estimated 1 matches for "myexists".

Did you mean: exists
2008 Dec 16
0
Serve N files from a directory that may or may not exist
Hi list, Here''s my files directory in my apache module: files | +-> ted.haha.com bob.haha.com etc.haha.com I have a custom myexists function that returns boolean. I''d like to check for a vhosts directory underneath each of those $fqdn directories, i.e., if myexits("/var/puppet/modules/apache/files/${fqdn}/vhosts") { # serve every file in that directory to /etc/httpd/vhosts } else { # do nothing } I wan...