![]() |
|
#1
|
|||
|
|||
sharing files on other HDis it possible to share for example a mp3's folder on a different HD? apache is installed on c:\ and my other HD e:\ has my mp3's....and i was wanting to like the two so that i can share my folder for access.... but making shortcuts and other things i've tried don't work... proly because i'm a nub
|
|
#2
|
||||
|
||||
Apache's mod aliasHello mkyb14,
I can't say I really understand your question but I will guess; Let's say you browse your 'site' by typing http://localhost/ in the address bar of your browser. The 'site' documents are somewhere on your C:\ drive right? Let's say you want to be able to type http://localhost/mp3/ and get to your mp3 collection (which is on the E:\ drive). You can do this easily... by enabling apache's mod alias and setting it up to handle this situation: here is an example - http://www.desilva.biz/forum/showthr...=2849#post2849 Reply here if you still have questions. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
|||
|
|||
contd...ok so i read your reply and did the following.
added this to my confg...at the end where the other ifmodules are..... but there was no "<IfModule mod_alias.c>" listed in my confg. so i made sure that the module was inthe list at the beginning which it was...and added this... <IfModule mod_alias.c> Alias /mp3s/ "E:/Mp3s/" <Directory "E:/Mp3s/"> Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Allow from all </Directory> </IfModule> then i tryed going to my website and adding localhost ....and nothing.... is there something that i'm missing.... and could if be the fact that i'm using Apache/2.0.45 ? |
|
#4
|
||||
|
||||
|
Try:
Code:
After you make that little change, try to 'view' a mp3 file directly e.g. http://localhost:8080/mp3s/example.mp3 I haven't actually installed Apache 2+ on Windows yet so I wouldn't be able to tell you what if anything, is different. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#5
|
|||
|
|||
you da manthanks man, i've been trying to do that for a while...
|
|
#6
|
||||
|
||||
|
Actually... you don't need to change the folder names (the ones with spaces in them). Which Windows are you using?
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#7
|
|||
|
|||
oh crapok so i can view the folder that contains all the other ones that i have organized my music into....ex:/mp3s/ .... but when i click on a folder after that i get denied .. ex: /mp3s/A .... is there a way around this.... the folder is shared and permissions are granted for users.....any idea?
|
|
#8
|
||||
|
||||
|
I am sorry, I don't quite understand your problem. Also, which Windows are you using?
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#9
|
|||
|
|||
windows XP prousing windows XP PRO...... and to make the problem simplier.... i can view my "mp3s" folder but not the folders with in it... see i have organized it like so.
folder - mp3s > then it has A- Z folders with all music sorted by artist. it can't list the sub folders.... is there a way to do this.... socal.homeunix.org make sure if you visit it you use the last "/" because it won't load unless you do |
|
#10
|
||||
|
||||
|
Clicking those links/folders end up at a 404 Not Found.
That means you can check your error.log file and then you will be able to see where it looked, and didn't found the folder. It will help if you could paste a bit of the error log so we can see if the alias is actually working like it should. |
Recent GIDBlog
Writing a book by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| gxx linker accepts only 7 object files | danielxs66 | C++ Forum | 1 | 12-Dec-2003 09:27 |
| How to create batch files without DOS box? | rhino1616 | Web Design Forum | 3 | 18-Aug-2003 10:00 |
| any one knows about the address of the deleted files in FAT | shaam | C++ Forum | 1 | 09-Aug-2003 16:18 |
| Dedicated to JDS who does not like flash files | jrobbio | Open Discussion Forum | 9 | 15-Feb-2003 03:24 |
| publishing Drirector/Shockwave files ...? | darrin | Web Design Forum | 1 | 04-Oct-2002 17:21 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The