reinstalling apache, and removing webmin.<div><br></div><div>Done....</div><div><br></div><div>All i want is just at first just one site.</div><div><br></div><div>I wish this was easier like, when I installed sickbeard or couchpotato, they auto-installed found an available port and it was done lol.</div>
<div><br></div><div><br><br><div class="gmail_quote">On Fri, Jun 1, 2012 at 2:58 PM, B-o-B De Mars <span dir="ltr"><<a href="mailto:mr.chew.baka@gmail.com" target="_blank">mr.chew.baka@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 6/1/2012 2:46 PM, B-o-B De Mars cried from the depths of the abyss:<br>
<br>
Forgive the top posting, do the below but change the doc root to point to your new www area.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On 5/31/2012 3:56 AM, Craig Rosenblum cried from the depths of the abyss:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><div class="im">
Now All i want is to setup <a href="http://localhost:8082" target="_blank">http://localhost:8082</a> or any other unused<br>
port number to point to a new folder i have.<br>
<br>
I have 3 partitions on my main hard drive, and in one of those<br>
partitions is a www folder, where i plan to keep all centralized<br>
websites that i ever worked on, or plan to work on.<br>
</div></blockquote>
<br><div class="im">
I was thinking about this, and I think you are over complicating things.<br>
<br>
Forget about Virtual Hosts. If all you are trying to do is have a<br>
repository of different sites that you can look at locally try this:<br>
<br>
Start over - Remove apache (and I mean remove it - all traces).<br>
<br>
Reinstall Apache. You are forbidden from using webmin this time!<br>
<br>
manually edit httpd.conf (or apache2.conf - or whatever they are calling<br>
it).<br>
<br>
Change this:<br>
<br>
Listen 80 to Listen 8082 (or whatever port you want)<br>
<br>
Take note of the stock install Document root location ie:<br>
/srv/httpd/htdocs or /var/www/html or whatever This is going to be you<br>
homebase.<br>
<br>
Also, make sure the Doc root has Options Indexes.<br>
<br>
Fire-Up Apache. Make sure it is working on port 8082 (or whatever you<br>
picked)<br>
<br>
Feel free to put your sites in directories in your /home or where ever.<br>
This doesn't matter.<br>
<br>
Then just create symlink from your sites into your apaches doc root.<br>
<br>
ie: your site is in /home/craig/ebay<br>
<br>
create a link like<br>
<br></div><div class="im">
ln -s /home/craig/ebay /var/www/htdocs/ebay<br>
<br>
This is easiest. Then when you goto localhost:8082 you will see<br>
directories for each site. Click the siteyou want & whalah.<br>
<br>
This is what I would do in your situation.<br>
<br>
Good Luck!<br>
<br>
Mr. B-o-B<br>
<br>
<br>
<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><div class="im">
I even install webmin, but I am more than a bit rusty on virtualhost<br>
setup.<br>
<br>
I really prefer not to have to add folders to /var/www because I want to<br>
keep my linux partition small.<br>
<br>
I am planning to work on a new way of doing my web-based media center<br>
app, since I can't play local videos via file:///<br>
<br>
Sorry for the long rant...<br>
<br>
Any tips to just get localhost working to point to a folder on one of my<br>
partitions?<br>
<br>
Do i need to setup any special permissions for that www folder so that<br>
it can be accessed?<br>
<br>
Thanks.<br>
<br>
Craig<br>
<br>
<br></div><div class="im">
______________________________<u></u>_________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/<u></u>mailman/listinfo/tclug-list</a><br>
</div></blockquote>
<br>
</blockquote><div class="HOEnZb"><div class="h5">
<br>
______________________________<u></u>_________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/<u></u>mailman/listinfo/tclug-list</a><br>
</div></div></blockquote></div><br></div>