Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Web Design & Development Web Design & Development
Search Search
Search for:
Tech Support Guy > > >

how to make a private web page?


(!)

ohheck's Avatar
Senior Member with 1,275 posts.
THREAD STARTER
 
Join Date: Jan 2003
12-Aug-2007, 12:19 PM #1
how to make a private web page?
ok, im a noob at this so i hope this makes sense:

i want to make a private web page on my pc that a friend can log on to and view video, picture, and audio files on my pc from it.

i use a program called yawcam for my webcam; with it i can create a private web page
where i can limit who logs on to it. The page is on my pc, i give them my ip and port number that yawcam opens and they logon--
sorry this is where i get fuzzy: how can i make a page where i give them my ip / port numbers and they can go there and either view content i put on the page and/or possibly use that page to browse the files on my pc?

hope that makes some sense...
diggingforgold's Avatar
diggingforgold diggingforgold is offline
Member with 33 posts.
 
Join Date: Oct 2001
12-Aug-2007, 07:45 PM #2
First you will need to install a web server. Then you will need to apply a password and username. Then you will need to forward/open the appropriate port so your friend can get through.

1) Install a web server. I recommend using AppServ. It's a package installer for Windows that includes Apache, MySQL, and PHP. This way, if you later want to tinker with MySQL or PHP, you will have them already installed and ready for use.

I created a guide a while back (it's probably not totally up to date)
http://appserv.minihost.org/appserv.html
The latest version of AppServ is currently 2.5.9, but the guide uses 2.5.7 I think.
http://prdownloads.sourceforge.net/a...9.exe?download

2) Next you will want to secure your WWW directory.
Open dos prompt (start > run > command) or nt console (start > run > cmd).
Navigate to the apache bin directory (C:\apache\bin).
Run "htpasswd -c -b c:\appserv\www\.htpasswd yourusername yourpassword".
Create a .htaccess by going back to prompt/console and simply typing "edit".
Type the following:

AuthUserFile c:/appserv/www/.htpasswd
AuthName "Secured Area"
AuthType Basic
require valid-user

Save that file in your c:\appserv\www\ directory as .htaccess.

Your main directory (www) should be password protected now.

3) Open port 80 on your router/firewall.

4) Send your buddy your IP address along with the username and password.

An easier method is to skip all this and rely on FTP, as it's more efficient and easier to manage and will use less resources. The FTP guide is located at appserv.minihost.org as well. For simple at-home use (like for sharing files and such), I find FTP to be the better choice. It's easier to setup users too.

Just remember that because FTP relies on FTP protocol, and not HTTP, your buddy will need to type ftp://youripaddress instead of http://youripaddress in order to get through.

I can't be too thorough right now because I don't really have the time, but I hope I gave you enough to get your feet wet. Good luck!
Duckman69's Avatar
Duckman69 Duckman69 is offline
Computer Specs
Senior Member with 818 posts.
 
Join Date: Jun 2007
12-Aug-2007, 08:02 PM #3
nice digging for gold :-D so one could create a deticated server using this softawre and that software would let mysql / php stuff run off of it -- if so wow you just saved me alot of trouble on one of my next google ventures lol... giggidy giggidy
ohheck's Avatar
Senior Member with 1,275 posts.
THREAD STARTER
 
Join Date: Jan 2003
12-Aug-2007, 10:48 PM #4
thanks for the reply diggingforgold- i have been messing with Vista's IIS - everything seems to be set up ok except that people cannot connect to it externally-
---------------
eh - i gave up on iis - im working on appserv - i seem to have set it up ok but i get a "500 internal error" when i try to connect but then maybe i cant connect to my own pc from my pc?...

anyway - thanks for the reply - this is what i was looking for!

---
nevermind, i got it to work!

but there is one (tiny) other problem - on the page i created if i link to a picture and the link is clicked the picture is diplayed in the browser - but if i link to a video file, an "open / save as" box pops up - how to i get videos to play WITHIN the web page?

Last edited by ohheck; 12-Aug-2007 at 11:34 PM..
Suzzistar's Avatar
Suzzistar Suzzistar is offline
Member with 167 posts.
 
Join Date: Apr 2007
Location: In your heart ;)
13-Aug-2007, 01:49 AM #5
well do u really have to go through all that pain, i mean u want your friends to view your videos and pics rite..? So why don't you open a profile with My space, Hi5 or even You tube , No hard work or expenses involved just signup for a account and upload your images and videos and give away the URL to your profile That's it.
ohheck's Avatar
Senior Member with 1,275 posts.
THREAD STARTER
 
Join Date: Jan 2003
13-Aug-2007, 06:47 AM #6
nuh - there's always a catch with online services - how much you can store, file size limits, etc. want the freedom to do whatever i want
mparent's Avatar
mparent mparent is offline
Junior Member with 5 posts.
 
Join Date: Aug 2007
Experience: Advanced
14-Aug-2007, 02:23 PM #7
PHP Password
I use PHP passwords alot. They are really simple to use if you have experience with PHP

Link to example code:

http://www.phpbuddy.com/article.php?id=23


Matt
http://www.parenttechnology.com
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑

Content Relevant URLs by vBSEO 3.3.2