how to alias a directory not available during startup
am 05.06.2007 22:19:28 von Yandos
Hi there,
I do have several aliases in httpd.conf to other directories around
the drives. I found that when I alias directory which is for some
reason not available during service start, the service fails to start.
Is there a way to make an alias (or something like alias - some
hardlink etc) for a directory which does not exist (at least during
service start) - I want have the possibility to alias folders inside
directories and drives mounted later, after the service start. Now I
use a php script which fpassesthru the files, but I'm sure there must
be a more clever ("pure apache") way... ;-)
I'm running apache 2.0.59 on windows 2k3.
Thank you for an answer,
Y.
Re: how to alias a directory not available during startup
am 06.06.2007 15:20:39 von Yandos
On Jun 6, 8:59 am, Davide Bianchi
wrote:
> On 2007-06-05, yan...@mailinator.com wrote:
>
> > Is there a way to make an alias (or something like alias - some
> > hardlink etc) for a directory which does not exist (at least during
> > service start) - I want have the possibility to alias folders inside
> > directories and drives mounted later, after the service start. Now I
>
> This is not an apache problem, more an OS problem, you could either
> delay the start of the service until all the required links are in
> positions or use symlink to 'fake' the directory and then replace them
> with real links, but how to do so depends on the capabilities of the
> OS.
>
> Davide
>
> --
> General Protection Fault! [ Ignore ] [ Reboot ] [ Install Linux ]
> -- From a Slashdot.org post
Thank you for reply.
It doesn't look like an OS problem, when I mount the drive, start
apache, and right then unmout, apache still works fine, except the
unmounted aliases are turned into 404, which is fine.
How do I make a symlink on a windoze XP OS? If it's possible at all...
To delay a service is not an solution for me :-( Any other ideas?
Re: how to alias a directory not available during startup
am 07.06.2007 11:24:24 von Yandos
On Jun 6, 3:36 pm, Davide Bianchi
wrote:
> On 2007-06-06, yan...@mailinator.com wrote:
>
> > How do I make a symlink on a windoze XP OS?
>
> I don't know. I've stopped using Windows when it was still 3.x
>
> Davide
>
Hi and thanks for help, I have googled about symlinks on windows and
it's really possible even on windows system to make a symlink (till
now I had no idea). Everything is solved with former sysinternal's
junction.exe :-)