How To Change DocumentRoot Path?
Oct 6, 2009
how to change DocumentRoot path?
like from this:
/public_html-maindomain)
/public_html/domain2
/public_html/domain3
/public_html/domain4
/public_html/domain5
to this:
/public_html/maindomain
/public_html/domain2
/public_html/domain3
/public_html/domain4
/public_html/domain5
View 8 Replies
ADVERTISEMENT
Sep 25, 2014
I run windows 8.1
Installed Apache 2.4.10 into c:apache24
Apache is run as service
I tried to change documentroot and directory to e:xxx....
When I test localhost/test_apache.html (my own html) I get error
"Forbidden You don't have permission to access / on this server."
Have I changed all needed parameter or is it a real permission problem?
View 1 Replies
View Related
Dec 12, 2008
How do I change the path of the Exim log directory? I am using Cpanel/WHM.
View 5 Replies
View Related
Dec 2, 2008
I have Linux server Apache with Tomcat.How can i change DocumentRoot for Tomcat or set default page for Tomcat index.jsp or my.jsp or index.php because i want to use 301 redirection.
So please guide me how can i change default page or change default path.
View 1 Replies
View Related
Jan 23, 2009
I'm using Plesk on my server and its a pain in the @** to create FTP users. So I found this article on adding chrooted FTP users. I successfully added a user, but would like to change the path now, how can I do this?
View 2 Replies
View Related
Sep 11, 2007
I've read everything I can find in google and tried it all but I just can't get Return-Path / Envelope-From to change when using centos+cpanel+exim+php4 it insists on sending as nobody@server.VPShostname.com which several very picky email services will promptly bounce
I've tried the following:
1. inserted the "magical" fifth parameter into mail() on php making it -fuser@example.com
2. double checked php.ini to make sure php is using exim - it is:
sendmail_path/usr/sbin/sendmail -t -i
3. used cpanel's own advanced exim editor to add at the top of the exim conf
trusted_users = nobody
(which i don't like but at this point I'll accept any technique that works)
4. restarted all services, exim, php, apache
5. I even found an obscure reference to /etc/email-addresses which can contain a whitelist so I added the email address there
View 2 Replies
View Related
Nov 5, 2014
I have installed the Wordpress application. The wordpress url is "server.com/wordpress", but I want to change it to something like "server.com/myblog".
In Plesk, the installation path cannot be changed (at least, it is not under "Change Settings").
Changing the Wordpress installation itself is not that difficult (renaming the folder in httpdocs and changing the siteurl and home parameter in the database), however, in Plesk still the old installation path is shown, and the Plesk interface to Wordpress obviously does not work any more.
How can I change the Wordpress installation path in Plesk?
Version Parallels Plesk v12.0.18_build1200140606.15 os_Ubuntu 12.04
OS Ubuntu 12.04.5 LTS
View 1 Replies
View Related
Nov 7, 2009
Lets say you own the .com and .net of a domain name. Are there any consequences to pointing your DocumentRoot of two domains to the same directory? I'm thinking this could mess up your logs, passwords, or general configuration. Let me know if you've had any experience with this.
View 6 Replies
View Related
Sep 9, 2007
about a few days go i signed up for a VPS with TekTonic.net
My issue at the moment is i wanted to setup .htaccess to prevent hotlinking.
Currently I am using Plesk 8.
So i created the .htaccess file and it looks like this:
Code:
#Stop A directory index from being shown
Options -Indexes
DirectoryIndex index.php index.php3 messagebrd.pl index.html index.htm
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^[url] [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*.(jpg|jpeg|gif|bmp|png|swf)$ - [F]
sounds good so far? ok. i put this file in the root of where all my html files go.
According to what plesk created for me, it is: /var/www/vhosts/mydomain.com/httpdocs
but that just wont work! it just wont!
So i pulled up the /etc/httpd/httpd.conf file and found out that theres two reference to DocumentRoot.
The first one reads:
DocumentRoot "/var/www/html"
and then again a few lines below it
<Directory "/var/www/html">
ok that just doesnt sound right. Because in that directory, /var/www/html is this:
Code:
[root@mydomain html]# pwd
/var/www/html
[root@mydoamin html]# ls -la
total 16
drwxr-xr-x 3 root root 4096 Sep 9 04:43 .
drwxr-xr-x 9 root root 4096 Jun 26 19:28 ..
-rw-r--r-- 1 root root 316 Sep 9 04:43 .htaccess
drwxr-xr-x 4 root root 4096 Sep 6 21:24 awstats
ya. theres no symlink to /var/www/vhosts/mydomain.com/httpdocs or any reference in the httpd.conf file whatsoever!
So i put the .htaccess file in /var/www/html and the .htaccess hotlinking worked! (as in no one can hotlink from me now)
(I've attached a copy of my httpd.conf file for review)
View 3 Replies
View Related
Oct 19, 2008
I'm doing some work for a friend of mine, and he's requested that he be able to have multiple domains refer to the same DocumentRoot (have all the domains load the same pages).
Is this possible through CPanel?
View 4 Replies
View Related
Dec 18, 2007
I am getting this error and I just installed apache 2.2 and added a user using useradd user. When i added into the virtual which is:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /home/user/public_html
ServerName user.com
</VirtualHost>
It does not find the public_html folder I added. Is this a permissions problem? or something else?
View 7 Replies
View Related
Dec 10, 2014
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
plesk parrells ,12.0.18 ,Update #26 ,centos 7 , 64 bit
PROBLEM DESCRIPTION
file in documenRoot folder eg httpdocs wont display properly
STEPS TO REPRODUCE
create a new sLTubscriptions , then ftp files into document root folder using filezilla
[Code] ....
The weird thing is when I put the files into a subdirectory (eg www.example.com/home /) the site itself shows correctly. But when I put the files back into the document root folder(eg httpdocs) it doesn't show correctly. Also no css or javascript error messages show up in the chrome debug window?
View 7 Replies
View Related
Feb 21, 2015
I have a client on a dedicated IP, today we needed to downgrade the web hosting plan. As the web hosting plan puts users on a default shared IP, this plan change also changed the dedicated IP to the shared one causing some propagation issues for a small period of time.
I have contacted WHMCS about this asking if they had a way of changing the clients plan but keeping the IP address intact as this could lead to some very undesirable outcomes. They explained that it is not their fault and to contact Parallels.
I know I can change the plan directly in Plesk however by initiating the plan change via WHMCS, everything is automated.
View 1 Replies
View Related
Feb 5, 2008
Has anyone helped clients transition from one domain to another? Maybe dissolving a partnership or renaming their company... so a new domain name has been registered and a new website created.
2 Issues:
#1 Using .htaccess 301 redirect
We used the following command line in their old website's htaccess file
Redirect 301 / [url]
The goal was to get people try to visit any page of their old website (i.e. OldWebsite.com/contact.html) redirected to their new website (i.e. NewWebsite.com/contact.html). Isn't that supposed to change the address bar's URL, too? For some reason, I visit their old site and I seem to be redirected to their new website but the address bar still has their old domain name? Something is going on???
#2 Having their new company name for 2 years now. People can enter her new company name in Google, MSN or Yahoo. Her new company name appears in the search results but has the old domain name associated with it. We are trying to get rid of any reference to that old domain name? What's the easiest way to do this? So what people see in search engines is:
New Company
Short Meta Description
www.OldDomain.com
What steps did I miss in this transition?
What steps do I have to take on their old website/old web server to control it's appearance on search engines and make sure people get to the new website?
View 2 Replies
View Related
Jan 30, 2007
SSH language, just know the commands that i use often.
my hoster, as he said did upgrade 2 days ago, [had an upgrade to apache 2], and some SSH command that i use before this, now don't work
for example, i had php script, which i run from ssh
[php go.php]
which don't work now ... got an error:
Code:
-bash: php: command not found
so my question is how to find php right path ?
Code:
$ whereis php
output:
Code:
Code:
php: /usr/src/php-5.2.0/php5.spec /usr/src/php-5.2.0/php.ini-dist /usr/src/php-5.2.0/php.ini-recommended /usr/src/php-5.2.0/php.gif /usr/local/bin/php /usr/local/lib/php.ini /usr/local/lib/php
as i understand, path is /usr/local/lib/php
after this try to type
Code:
/usr/local/lib/php go.php
output
Code:
/usr/local/lib/php: is a directory
btw
when i type
echo $PATH
get
Code:
/usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/home/MYUSERNAME/bin
View 6 Replies
View Related
Nov 13, 2008
I'm trying to transfer a cms from 1 site to another and I don't know the full ftp path.. I'm looking for the "/public_html/username/blank/blank/sitefolder" or something similar.. How do I figure this out?
View 2 Replies
View Related
Jan 13, 2007
how can i find out my site physical path
i tried following but blank page
[url]
View 2 Replies
View Related
Jul 10, 2007
I'm installing a script that's suppose to act as a payment gateway/store. The script requires the virtual path to the secured directory holding the products and everything I've tried doesn't work! It should be something like /home/username/public_html/secured where username is replaced with my username. I'm hosting with godaddy and have tried just about everything on this page: help.godaddyDOTCOM/article.php?article_id=1360 without any luck. Any ideas or experience with this? I'm on the economy plan with godaddy.
View 0 Replies
View Related
Jun 8, 2007
What would be the full path to the user's directory?
Cpanel's is:
/home/user/public_html
View 3 Replies
View Related
Oct 25, 2009
Just wanted to ask, which folder are the MySQL databases held in for Cpanel? Running CentOS 5 VPS.
View 7 Replies
View Related
Feb 7, 2008
I am running Cpanel x 11.
Can I create a subdomain like:
mysub.mydomain.com and instead of its physical location being at:
'public_html/mysub'
Can I change/create its physical location at:
'public_html/inside_dir/yet_another_inside_dir/mysub'
View 2 Replies
View Related
Nov 28, 2007
Im having problems configuring my shopping cart.
Im hosting with www.valueweb.com
Does anybody know what is the path to curl?
I called them but they gave me 2 paths and none of them work.
View 2 Replies
View Related
Dec 20, 2007
build out a backup datacenter to mirror our facilities currently located in Manhattan.
Does anyone have any recommendations of a datacenter (preferably a carrier neutral facility) that is within walking distance to the NJ PATH station in New Jersey?
We are looking for between 2 and 3 racks with up to four 20 amp power cicuits.
View 14 Replies
View Related
Jul 25, 2007
I had a program (APF, actually) install its executable file in /usr/local/sbin/, so I went to add that directory to my PATH variable in .bashrc. I'm able to type commands to executables just fine in other directories, but for some reason I keep getting "command not found errors" from bash when I type in the name of the executable (apf), even when starting/restarting new instances of the shell. Here's my current PATH variable in .bashrc - have I overlooked something?
# Customize the path directory
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:~/bin:
View 5 Replies
View Related
Sep 1, 2007
How to find path to MySQL ?
I need to know command for check path to MySQL.
View 2 Replies
View Related
Apr 9, 2007
I am not sure if this is the right area to post this question but I am setting up an autoresponder on my website. To configure it to my site it the instructions say I need to
"# Type the full path to your EMail program.
# If you're not sure of this, ask your server administrator
$mailprog="/usr/sbin/sendmail";
# Type your email address. Make sure
# to place a in front of the @
# As an example: admin@autoresponderunlimited.com
$fromaddr="admin@autoresponderunlimited.com";"
Where would I be able to find this? I have the Linux Deluxe Hosting Plan from godaddy.com
View 6 Replies
View Related
Dec 18, 2012
Earlier I made a setup using UNC path in my Apache configuration. I managed to make this work. Now on another installation using Apache 2.2.22 nothing works like before.
This is how my configuration looks like ....
View 4 Replies
View Related
Jul 22, 2009
The "DNS Path Diagram" (lower part) does not show a graph when accessed via :
WHM=>Cluster/Remote Access =>Configure Cluster.
Any idea what can be causing this?
View 4 Replies
View Related