|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Apache, conditional Aliases?
Hello all,
I'm running Apache 2.0 on WinXP Pro for a testing machine. In apache's httpd.conf file I Alias a removable thumb drive so I can access it from a web browser. I do something like this: Code:
Alias /removable_drive/ "b:/"
<Directory "b:/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Now, sometimes when Apache starts up, the thumb drive isn't plugged in, causing apache to abort. Is there anyway to make the Alias and the Directory directives coniditional based on the existance of "b:"? Thanks! |
|
#2
|
|||
|
|||
|
RE: Apache, conditional Aliases?
Try creating two apache servers. I think you can have them poiting to an external htdocs folder so they both run off of the same folder, but one is a thumb server and the other is not.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > Apache, conditional Aliases? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|