|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
VHost
for some reason when ever i set the vhost DocumentRoot to something it changes the main documentroot to that.
Basically <VirtualHost> ServerAdmin URL ServerName seanbry.dyndns.org/mp3/ DocumentRoot "C:/docments and settings ....." </VirutalHost> I want that to point to my mp3's so when i type seanbry.dyndns.org/mp3/ it will bring me to my mp3's |
|
#2
|
|||
|
|||
|
>> ServerName seanbry.dyndns.org/mp3/
Illegal format. ServerName accepts A-Za-z0-9 and -, no underscore, no slash (preferably FQDN). If your mp3 folder lives under your docrot (C:/docments and settings), just access to it via http://seanbry.dyndns.org/mp3/. If it's under your docroot but somewhere in a subdir under another subdir, then change your docroot. If it lives elsewhere like D:/mp3/, then use Alias directive. Start here -> http://httpd.apache.org/docs/mod/mod_alias.html#alias If that is the case, you also need to define a <Directory "D:/mp3"> block. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > VHost |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|