Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


OK ... but | 11 comments | Create New Account
Click here to return to the 'OK ... but' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
OK ... but
Authored by: moyashi on May 02, '01 10:40:47PM

OK, I was hoping that this setup would allow me to work on development sites without actually dialling up to the net ...

So how do :

call this from my browser; ie iCab ..... http://www.company1.dev or http://localhost/www.company1.dev?
My browser likes to hang since it can't find the correct location.

and, is this ok? /Library/Webserver/www.company1.dev

in Netinfo Manager I have:
ip_address 127.0.0.1
name www.company1.dev
serves ./local

Which brings me to another question I've been tying to figure out. I want to organize the WebServer directory so that I can work on my friends site and my own. This is all no-cash (free beer and dinner funding from my friend) work that I do for my friend but I also would like to have my own site cleanly setup, will the above HINT workf for me?

and while I'm here. I would like to imitate my hosted IP site setup:
/usrXYZ/public_html/XYZ/cgi-bin/
tye of format.

Any clues on this?

I'm sure a lot of dialup users could benefit from having a similar setup on their desktop as their IP.

Thanks



[ Reply to This | # ]
Answer for ya :)
Authored by: DracoNB on Jan 03, '02 08:59:28PM

Yes you can emulate how your ISP does their setup! :) I just did it with mine :)

just change this:

# Keep this first one to enable localhost/127.0.0.1 to still function

<VirtualHost 127.0.0.1>
DocumentRoot /Library/WebServer/Documents
ServerName localhost
</VirtualHost>

# Edit this to fit your needs :)
<VirtualHost 127.0.0.1>
DocumentRoot /path/you/want/to/use
ServerName www.yoursite.dev
</VirtualHost>

DracoNB



[ Reply to This | # ]
Answer for ya :)
Authored by: moyashi on Sep 02, '02 12:03:21PM

Whoo, missed this thread some how.

Thanks for the reply and sorry for the realllllly late thanks

:(



[ Reply to This | # ]