OZONE Asylum
Forums
Server-Side Scripting - Oh my!
httpd.conf help
This page's ID:
32396
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
if this is in the wrong place, feel free to move it. it's been a long time since I started a thread here, but I know there's gonna be somebody here who can help me. I just started a new job and I'm trying to set up my laptop as a LAMP server. I have everything up and running with the defaults and everything shows up fine when checking 'localhost', but I'm not sure what to put in httpd.conf to set up subdomains. I have added my laptop to the dhcp server's reservations (we run win2k3 server at work) and I can access my site from other computers in the building by typing my computer's name into the browser. what I'd like to be able to do is something like this: web.john-laptop -> company website I'm redesigning it.john-laptop -> a page for logging any IT work I do while I'm here and so on and so forth this is what I have so far, and it's not really doing the trick [code] <VirtualHost *:80> ServerName web DocumentRoot /home/john/web_root/hhc/ <Directory "/home/john/web_root/hhc"> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ErrorLog /tmp/web.hhc.local.error.log </VirtualHost> <VirtualHost *:80> ServerName it DocumentRoot /home/john/web_root/it <Directory "/home/john/web_root/it"> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ErrorLog /tmp/it.hhc.local.error.log </VirtualHost> [/code] so... any ideas / thoughts? [sigrotate] Of all the things I've lost, I miss my mind the most (Ozzy Osbourne)| Some people say I'm a dreamer, but I'm not the only one (John Lennon)| Life is too short, so love the one you got (Bradley Nowell)| I focus on the pain; The only thing that's real (Trent Reznor)| I know the pieces fit, 'cause I watched them fall away (Maynard J. Keenan)| Take your time, hurry up; the choice is yours just don't be late (Kurt Cobain)| You could stand me up at the gates of hell, but I won't back down (Tom Petty)| Do you serve a purpose or purposely serve (Corey Taylor)| You know I'd like to keep my cheeks dry today, so stay with me and I'll have it made (Shannon Hoon) [/sigrotate]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail