Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become an Expert!

Join 244,261 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,236 people online right now. Registration is fast and FREE... Join Now!




Protected Web Storage (Apache on Windows)

 
Reply to this topicStart new topic

Protected Web Storage (Apache on Windows), Bind Partition? HTACCESS?

max302
26 Jul, 2007 - 04:32 PM
Post #1

Proud supporter of the lulz
Group Icon

Joined: 5 Mar, 2006
Posts: 1,281



Thanked: 1 times
Dream Kudos: 200
My Contributions
So yeah, I have this web server running up at home, and apart from being a webserver, its also an FTP dump, torrent box (utorrent webgui baby yeah!) and a place for my noobass sister to watch some bad music vids on the Jootubes.

What I want to do is bind some network locations, local and distant on LAN (torrents on the same box, files on my external shared by samba) so that they all figure in my htdocs folder, hence all available on the internetz. Usually, on linux,to bind something like my external hard drive i would just do something like bind \\wifighter\radium /var/www/radium but obviously windows just doesn't support binding stuff like that. Without messing around with Apache virtualhosts and subdomains, which I understand nothing to,how can I make this work?

Now the second part, securing the whole thing. Although I don't care about people stealing my homework, I don't want people to be able to download my torrents directly from my box at extremely high http speeds. Of course, I could put a .htaccess file in the root folder, but to my knowledge, htaccess stuff isnt recursive, so it wont protect the child folders.
QUOTE
Hmm... max302.ath.cx/radium doesnt work... wait..... max302.ath.cx/radium/music!! LOLZ HAX!

I dont want that to happen. Any other way of securing htdocs folder?

User is offlineProfile CardPM
+Quote Post


max302
RE: Protected Web Storage (Apache On Windows)
27 Jul, 2007 - 01:12 PM
Post #2

Proud supporter of the lulz
Group Icon

Joined: 5 Mar, 2006
Posts: 1,281



Thanked: 1 times
Dream Kudos: 200
My Contributions
Bumpedy bumber bumb McBumper Bumpist.
User is offlineProfile CardPM
+Quote Post

Nova Dragoon
RE: Protected Web Storage (Apache On Windows)
28 Jul, 2007 - 07:22 AM
Post #3

The Innocent Shall Suffer, Big Time
Group Icon

Joined: 16 Aug, 2001
Posts: 6,169



Thanked: 27 times
Dream Kudos: 515
Expert In: Python, Linux

My Contributions
I suggest going through an apache tutorial. To learn about the software you are running. Really the only way to be secure is to understand how your app works, and interacts with other systems.
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: Protected Web Storage (Apache On Windows)
28 Jul, 2007 - 12:35 PM
Post #4

Unix Ronin
Group Icon

Joined: 10 May, 2007
Posts: 10,438



Thanked: 198 times
Dream Kudos: 2725
Expert In: Goofing Off

My Contributions
So explain again why you are running a service on Windows that will be shared to the outside world?

Seriously, you are trying to lock down a server that will be hosted on an unsecurable OS. If you have a box running Linux & Samba, why don't you just host the site there?
User is offlineProfile CardPM
+Quote Post

max302
RE: Protected Web Storage (Apache On Windows)
28 Jul, 2007 - 01:39 PM
Post #5

Proud supporter of the lulz
Group Icon

Joined: 5 Mar, 2006
Posts: 1,281



Thanked: 1 times
Dream Kudos: 200
My Contributions
The box that runs linux serves many many other purpose, plus it has very limited disk space, so I prefer to run it upstairs on something more powerful and only very sparsely used. If my sister weren't on there and if she and my parents wanted me to install FC on there, it would be, but last time I tried to move her to linux she complained that she couldn't have webcams on GAIM. I told her to get a life and ditch webcams, but i got counternailed by my parents which forced it back to windows.
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: Protected Web Storage (Apache On Windows)
1 Aug, 2007 - 08:23 AM
Post #6

Unix Ronin
Group Icon

Joined: 10 May, 2007
Posts: 10,438



Thanked: 198 times
Dream Kudos: 2725
Expert In: Goofing Off

My Contributions
QUOTE(max302 @ 28 Jul, 2007 - 02:39 PM) *

The box that runs linux serves many many other purpose, plus it has very limited disk space, so I prefer to run it upstairs on something more powerful and only very sparsely used. If my sister weren't on there and if she and my parents wanted me to install FC on there, it would be, but last time I tried to move her to linux she complained that she couldn't have webcams on GAIM. I told her to get a life and ditch webcams, but i got counternailed by my parents which forced it back to windows.

Then give her the POS system & use the good one for yourself. Put Windows back on the older system, & put all the Linux/Apache installs onto the better system.
User is offlineProfile CardPM
+Quote Post

max302
RE: Protected Web Storage (Apache On Windows)
1 Aug, 2007 - 10:04 AM
Post #7

Proud supporter of the lulz
Group Icon

Joined: 5 Mar, 2006
Posts: 1,281



Thanked: 1 times
Dream Kudos: 200
My Contributions
Well in the end, I daemonifying everything that I needed running, including a torrent client that lives of apache (Torrentflux, hotstuff), and switching to Fedora Core 5, since my stupid Laggboxx doesnt have a DVD player. The sister has Opera for the Jootubes, Pidgin and frets on fire to play with, and she's really happy cause she thinks she's the only one using linux around (which is kinda true.)

I can now resume to my usual binds and .htaccess and stuff while I read a bit more about virtual hosts and more advanced apache configuration.

Oh yeah, and for the record, turns out that .htaccess is recursive.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 7/4/09 11:43AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month