Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old October 21st, 2001, 11:00 PM
MattWil MattWil is offline
YaBN (Yet another BSD Newbie)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 74 MattWil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Ports...

How can you make your own ports? For instance, say I have phpMyAdmin, and I want people to be able to access it by going to mydomain.com:9832. How would I go about doing that? Also, what if I wanted to be able to have them go to theirdomain.com:9832 to get to phpMyAdmin. Is this a file that I need to put in the skel directory? Thanks
__________________
-MattWil

Reply With Quote
  #2  
Old October 25th, 2001, 06:05 AM
Alkis Alkis is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Location: Hellas
Posts: 46 Alkis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 46 m 35 sec
Reputation Power: 8
I think VirtualHost is the solution

You can do this by having the phpMyadmin in a Virtual Host.
Then in your Vistual Host definition just add a line:

Listen:9832

if you don't know how to do that:

<VirtualHost *>
DocumentRoot "your html root here"
Server Name "mydomain.com"
...any other configuration(alias.log e.t.c.)
</VirtualHost>

<VirtualHost *>
DocumentRoot " your html root-phpMyAdmin here"
Listen 9832
...any other configuration(alias.log e.t.c.)
</VirtualHost>

You must have both sites, the main and the admin into Virtual Hosts, cause when you create virtual hosts, the main host info (domain, ports) for security reasons is not available from the web.

Reply With Quote
  #3  
Old October 27th, 2001, 03:28 PM
MattWil MattWil is offline
YaBN (Yet another BSD Newbie)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 74 MattWil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Thanks for helping! When I do that I get an error that says I can't have Listen inside of <VirtualHost>.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Ports...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway