|
Page 1 of 1 |
spankie
VIP Member
Posts: 2958
Location: Belgium
|
Posted: Mon, 14th Jun 2010 16:57 Post subject: webserver root directory |
|
 |
Aargh, I need to setup something on a server here, and the dude who is normally doing the server shit happens to be abroad and I cannot reach him...
Fairly easy problem
/var/www/html should be the root directory, so I can add a folder for this guy where he can put his site.
So when I go to the root directory using the WWW I end up @ the site that is stored @ /var/www/html/subdir1
Ok, no problem, he probably changed the root directory in the httpd.conf file. I check, negative. So maybe he changed the .htaccess rewrite rules. Nope.
Any other suggestion where these things can be changed?
|
|
Back to top |
|
 |
Saner
Posts: 6877
Location: Uk
|
Posted: Mon, 14th Jun 2010 18:43 Post subject: |
|
 |
VHOST settings ?
ragnarus wrote: |
I saw things like that in here and in other "woman problems" topics so...... Am I the only one that thinks some authorities needs to be alerted about Saner and him possibly being a rapist and/or kidnapper ? |
Saner is not being serious. Unless its the subject of Santa!
|
|
Back to top |
|
 |
Lutzifer
Modzilla
Posts: 12740
Location: ____________________ **** vegan zombie **** GRRAAIIINNSS _______
|
Posted: Mon, 14th Jun 2010 20:39 Post subject: |
|
 |
if the server has php running you can use the following to get the absolute path:
Code: | <?php
$path = getcwd();
echo "This Is Your Absolute Path: ";
echo $path;
?> |
|
|
Back to top |
|
 |
spankie
VIP Member
Posts: 2958
Location: Belgium
|
Posted: Mon, 14th Jun 2010 23:20 Post subject: |
|
 |
i finally figured it out. Some virtual hosting plugin in apache. Never heard of it.
Depening on the DNS redirect you are coming from to the main server, a separate directory on the server is chosen. Nice, no clue this even existed...
|
|
Back to top |
|
 |
Page 1 of 1 |
All times are GMT + 1 Hour |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group
|
|
 |
|