hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : Default FTP Folders
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

Default FTP Folders

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-27-2002, 08:52 PM
WebAssistUK WebAssistUK is offline
Newbie
 
Join Date: Mar 2002
Posts: 27

Default FTP Folders


Hi,

How do I configure my RaQ sites so that when a site administrator logs into their FTP space it defaults to the main web folder within their site??

Also how can I view a newly created site on the Raw via the internet before the domain has been propogated/Registered???

Reply With Quote


Sponsored Links
  #2  
Old 09-28-2002, 04:41 AM
eddy2099 eddy2099 is offline
Web Hosting Master
 
Join Date: May 2001
Posts: 8,070
FTP Login to Main Web Directory
=======================

Edit proftpd.conf under /etc

Within the <VirtualHost> .. </VirtualHost> , add the following to the last line :-

DefaultChdir ../../web site-adm

If you have various IP addresses there, add to each of them.

After that just restart your proftpd and that should do the trick.

Viewing Created Site prior to Propagation
=============================

Edit httpd.conf which is under /etc/httpd/conf

Add this line within the <VirtualHost> .. </VirtualHost> , this should be at the bottom of the conf file.

AliasMatch ^/preview/([^/]+)(/(.*))? /home/sites/$1/web/$3

After you do that, just restart your httpd server.

So if someone wants to preview a site, say your main server is http://www.server.com and the client is http://www.client.com . You could get to the client via :-

http://www.server.com/preview/www.client.com

Hope that helps.

Edwin

Reply With Quote
  #3  
Old 09-28-2002, 10:25 AM
CmptrWz CmptrWz is offline
Junior Guru
 
Join Date: Sep 2001
Posts: 238
I find that sticking the DefaultChDir command works better if you drop it in the <global> tags.

Reply With Quote
Sponsored Links
  #4  
Old 09-28-2002, 01:39 PM
eddy2099 eddy2099 is offline
Web Hosting Master
 
Join Date: May 2001
Posts: 8,070
Quote:
Originally posted by CmptrWz
I find that sticking the DefaultChDir command works better if you drop it in the <global> tags.
True, I did that but it just seems to ignore it on my RaQ. Not sure why. But in any case, I have only 6 IP addresses so it is no big deal. Copy and Paste is just a great thing.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Mozilla Firefox 23 Will Block Mix SSL Content by Default Web Hosting News 2013-04-12 11:39:07
Mozilla Updates CA Certificate Policy for Software Products Web Hosting News 2013-02-19 12:32:22
Web Host eUKhost Adds R1Soft Backup to Reseller and Shared Plans Web Hosting News 2011-11-10 16:28:14
Cloud Security Firm Dome9 Partners with WordPress, CloudFlare Web Hosting News 2011-08-10 18:28:04
Web Host U-SYNC Launches CM4all OnlineDrive-Powered Cloud Storage Web Hosting News 2011-06-22 20:54:21


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?