#1  
Old 19th November 2005, 22:24
timbo timbo is offline
Junior Member
 
Join Date: Nov 2005
Location: Texas, US
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Talking Test site??

Hi.

I want to know if its possible to create a working test site alongside an active domain. Can I create a directory such as /var/www/web1/web/testsite and be able to see the indexed page from www.example.com/testsite?

I tried copying the original index.html files and error folder into the /var/www/web1/web/testsite folder I created, but when I pointed my browser there it said that I not permitted to access the requested URL (403 error - forbidden!) I checked all the directory permissions.

Is there a way to enable this url so that I can test out CSS and other stuff before applying it to my site?

Thanks!
tb
Reply With Quote
Sponsored Links
  #2  
Old 19th November 2005, 22:29
IntnsRed IntnsRed is offline
Member
 
Join Date: Nov 2005
Posts: 49
Thanks: 1
Thanked 1 Time in 1 Post
Default

If your web1 "user" is associated with the example.com domain, you'll be able to see it if you made that directory.

Your 403 error is probably due to permissions on the subdirectory (and/or *.html file) when you created it.

You'll want directory permissions of "775" or drwxrwxr-x. The key is the "other" permissions. The directory has to be flagged as "other" read/execute, and the various *.html files (or whatever files) as "other" read permissions.
________
WEED MAPS

Last edited by IntnsRed; 4th March 2011 at 05:03.
Reply With Quote
  #3  
Old 19th November 2005, 22:50
timbo timbo is offline
Junior Member
 
Join Date: Nov 2005
Location: Texas, US
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

Okay,

Here is the ls -l output of my /web/testsite directory.

Code:
user1@host:~/web/testsite$ ls -l
total 8
drwxrwxr-x  2 user1 web1 4096 2005-11-19 13:03 error
-rwxrwxr--  1 user1 web1 1215 2005-11-19 12:57 index.html
I think this means that the directories and files are set up correctly. I still get the 403 error. Is there something else I need to do?

Thanks.
tb

Last edited by timbo; 19th November 2005 at 23:33.
Reply With Quote
  #4  
Old 20th November 2005, 00:35
IntnsRed IntnsRed is offline
Member
 
Join Date: Nov 2005
Posts: 49
Thanks: 1
Thanked 1 Time in 1 Post
Default

I'm assuming that your www.example.com domain is working fine -- working fine meaning that not only is Apache serving it up, but that it was ISPConfig-created and that it's fully functional.

Anyway, that file and directory that you show have good permissions. But what are the permissions to the actual subdirectory of ~/web/testsite?
________
TOYOTA SV-1

Last edited by IntnsRed; 4th March 2011 at 05:03.
Reply With Quote
  #5  
Old 20th November 2005, 11:00
timbo timbo is offline
Junior Member
 
Join Date: Nov 2005
Location: Texas, US
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

Yes, Apache is serving up the site, www.10thdimens10n.com, great. Did I mention that its a drupal site? However, the testsite is *.html only (for now.)

Anyways, I'm trying to make this testsite so that I can start playing with a theme for it so that the content will fit right into it. Right now it's not much of anything.

Here's the output of ./web ls -l:

Code:
user1@host:/var/www/web1/web# ls -l
total 136
-rw-r--r--  1 user1 web1 20255 2005-08-14 19:43 CHANGELOG.txt
-rw-r--r--  1 user1 web1   749 2005-01-09 03:22 cron.php
drwxr-xr-x  2 user1 web1  4096 2005-08-14 19:50 database
drwxrwxr-x  2 user1 web1  4096 2005-11-16 16:36 error
-rw-r--r--  1 user1 web1  8430 2003-06-11 15:50 favicon.ico
drwxrwxr-x  2 user1 web1  4096 2005-11-16 23:14 files
drwxr-xr-x  2 user1 web1  4096 2005-08-14 19:50 includes
-rw-rw-r--  1 user1 web1  1215 2005-11-16 17:32 index.htmold
-rw-r--r--  1 user1 web1   595 2004-08-21 01:42 index.php
-rw-r--r--  1 user1 web1 10280 2005-04-23 00:07 INSTALL.txt
-rw-r--r--  1 user1 web1 18019 2004-09-15 15:48 LICENSE.txt
-rw-r--r--  1 user1 web1  1428 2004-09-15 15:53 MAINTAINERS.txt
drwxr-xr-x  2 user1 web1  4096 2005-08-14 19:50 misc
drwxr-xr-x  2 user1 web1  4096 2005-08-14 19:50 modules
drwxr-xr-x  2 user1 web1  4096 2005-08-14 19:50 scripts
drwxr-xr-x  3 user1 web1  4096 2005-08-14 19:50 sites
drwxrwxr--  3 user1 web1  4096 2005-11-19 13:03 testsite
drwxr-xr-x  7 user1 web1  4096 2005-11-19 02:51 themes
-rw-r--r--  1 user1 web1  8787 2005-04-06 14:04 update.php
-rw-r--r--  1 user1 web1   347 2005-08-14 17:33 xmlrpc.php
Again, should be accessible by others, right? Also, the error page being served up is an ISPConfig page. You can see it at www.10thdimens10n.com/testsite

Thanks!
tb
Reply With Quote
  #6  
Old 20th November 2005, 15:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Quote:
drwxrwxr-- 3 user1 web1 4096 2005-11-19 13:03 testsite
Folders must always be executable by all! Your testsite folder is only executable by the owner and the group! Run
Code:
chmod 775 testsite
, and the error should be gone.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot access ispconfig site Nu2Linux Installation/Configuration 13 3rd January 2009 16:29
after web-form edit, site creation from hostingplan gives wrong values raveneye Installation/Configuration 2 7th November 2005 01:51
Test DNS service Lil'Brudder General 2 26th October 2005 02:06
mx record not set up for new site + misc jmroth Installation/Configuration 8 25th September 2005 16:35
can't delete a site KenMcGinnis Installation/Configuration 2 14th August 2005 16:02


All times are GMT +2. The time now is 09:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.