Apache 2.2 DocumentRoot /home/user/public_html Not Exist
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
ADVERTISEMENT
Jan 13, 2007
When I'm adding a new account, I got some error:
[url]
How can I fix that?
View 8 Replies
View Related
Oct 30, 2007
created one problem for us cpanel
in create new account:
[an error occurred while processing this directive]
Setting up FrontpageŽ...
/home/create1/public_html does not exist or is not a directory!
View 8 Replies
View Related
May 7, 2007
I thought I knew enough about my .htaccess stuff to do this, but I can't seem to work it out. What I want to do is if a user visits domain.com/folder, we check to see if the folder exists. If so, show as normal (IE domain.com/support)
If a user visits domain.com/dynamicusername (dynamicusername is not a physical folder), redirect to dynamicusername.domain.com
View 3 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
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
Jul 15, 2007
How to forbid the exit to the user too /home/user?
View 1 Replies
View Related
Feb 9, 2008
My error logs say the following:
[Wed Jan 30 22:31:33 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/404.shtml
[Wed Jan 30 22:31:33 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/favicon.ico
[Wed Jan 30 22:29:36 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/404.shtml
[Wed Jan 30 22:29:36 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/favicon.ico
[Wed Jan 30 22:27:18 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/404.shtml
[Wed Jan 30 22:27:18 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/favicon.ico
[Wed Jan 30 22:26:48 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/404.shtml
[Wed Jan 30 22:26:48 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/favicon.ico
[Wed Jan 30 22:26:47 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/500.shtml
[Wed Jan 30 22:26:47 2008] [alert] [client 150.101.99.206] /home/soupnazi/public_html/Dolphin/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Wed Jan 30 22:20:21 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/404.shtml
[Wed Jan 30 22:20:21 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/favicon.ico
[Wed Jan 30 22:20:19 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/500.shtml
Apache/1.3.41 (Unix) PHP/4.4.7 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.30 OpenSSL/0.9.7a
I need to delete that file its huge.
View 4 Replies
View Related
Jul 4, 2007
I have moved my sites from old server with Apache 1.3 to new one with Apache 2.2.4. Since that time, the error log is full of these lines:
Code:
[Wed Jul 04 05:36:32 2007] [error] [client 212.47.9.194] File does not exist: /home/domain/public_html/russia
[Wed Jul 04 05:36:39 2007] [error] [client 212.47.9.194] File does not exist: /home/domain/public_html/russia
[Wed Jul 04 05:36:45 2007] [error] [client 213.192.18.2] File does not exist: /home/domain/public_html/italy
[Wed Jul 04 05:36:57 2007] [error] [client 83.8.104.181] File does not exist: /home/domain/public_html/mexico
The access logs show even more accesses, so sometimes the same page is ok, sometimes it is logged here. The strange thing is that these files (pages) exist! They are accessible through the browser without any problem.
Do you have any idea where could be the problem? It would helped me lot, I am unable to find any real problem now, when error log is full of these.
My OS is Ubuntu 6.06. I use mod_rewrite through .htaccess. I can provide list of apache modules, if it helps.
View 3 Replies
View Related
Jul 10, 2014
I don't know why, but only one server with Plesk 12 if i create additional ftp accounts not working. i receive error:
530 User cannot log in, home directory inaccessible.
If i use principal FTP account works fine.
View 5 Replies
View Related
Oct 31, 2009
How to Remove Apache File Not Exist Errors
Here is the Reply of the Sys Admin
Dear Customer,
I am sorry. We are not able to resolve the File Does Not Exist errors for you. You have to do it own.
The unique errors that you have today for Apache are as follows:
client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind
File does not exist: /usr/local/apache/htdocs
File does not exist: /usr/local/apache/htdocs/501.shtml
File does not exist: /usr/local/apache/htdocs/images, referer:
[url]
File does not exist: /usr/local/apache/htdocs/jailbreak-iphone-3-0-1-with-redsn0w
File does not exist: /usr/local/apache/htdocs/robots.txt
Invalid method in request x16x03x01
Invalid method in request x80bx01x03x01
# Invalid URI in request alt="Follow%20via%20FreiendFFeed"%20title="Follow%20via%20FriendFeed"%20border="0"%20height="16"%20width="16"%20/>Home
Top%20StuffiPhoneWindows%207FirefoxVistaTipsWordpressSubscribeSitemapAdvertise xc2xa0xc2xa0xc2xa0Vertical1240899%20=%20false;ShowAdHereBanner1240899%20=%20true;RepeatAll1240899%20=%20false;NoFollowAll1240899%20=%20false;Ban nerStyles1240899%20=%20new%20Array(%20%20%20%20"a{display:block;font-size:11px;color: HTTP/1.1
PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93
PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer:
[url]
PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer:
[url]
PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer:
[url]
PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer:
[url]
request failed: error reading the headers
I would advise that you resolve as many of these errors as you are able.
As to what caused the load on your server, I can't say. There is nothing in your logs to indicate the source of the problem. During the 1PM period when your server overloaded last there were only 29 errors in Apache. The errors that occurred during this time would not cause excessive load.
I have installed a script to monitor your server. If this load issue occurs again within one week or before your next reboot, whichever comes first, we should be able to determine the source from the script's logs in /var/log/sys-snap.sh.
View 14 Replies
View Related
Mar 5, 2013
I am using single Apache HTTP Server (2.2.23) as a Load Balancer with two IBM Websphere application server nodes (other machines). I have deployed the simple text based helloWorld application and it works fine with load balancer. But When I deploy the real application that contains images,css file , java script file. It loads the page without images and show me simple text and gives me the following Exception on error_logs and similar kind of exceptions
[error] [client 192.217.71.77] File does not exist: /usr/local/apache2/htdocs/application, referer: http://192.168.141.17/application/faces/test.jsp
Interestingly, when I access the application without load balancer, it also works fine.
Here are the load balancer settings
View 1 Replies
View Related
Jun 25, 2009
I need to clean up the .spamassassin directory for all the accounts on the server. The Bayes files are getting too big and causing mail handling issues.
How would I do that?
I assume this won't work - and don't want to try it until I hear a little feedback:
rm -f /home/*/.spamassassin/*bayes*
Basically, I need a command that will do what the above command looks like it would do - I just don't think the wildcards will work in that manner, and don't want to try it for fear of deleting items outside of the .spamassassin directory.
I'm running CentOS 5.3.x with cPanel/WHM - if it matters...
And feel free to suggest other spam blocking software - but we've gotten rather good at tweaking SA to get the job done. Just this annoyance of the bayes files growing continuously is a pain sometimes...
View 7 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
Jan 4, 2008
I am trying to install Apache + PHP on Windows XP SP2. I managed to get Apache working. However, when I setup PHP and tried to access a page with <?php phpinfo(); ?> it displayed nothing but a blank page. When I viewed the source is showed the PHP, therefore it was not parsed...
I have checked and double checked my paths, I have tried doing it as a module and cgi, I have read tutorial after tutorial and I cannot get it to function properly.
Apache 2.2.6, PHP 5.2.5
View 5 Replies
View Related
Mar 18, 2014
There is a page on a separate SharePoint environment, under http://domain.edu/yyy/yyy/yyy/yyy. We have a subdomain called http://123.domain. edu . We need the home page of http://123.domain,edu to point to the SharePoint site, so when users type http://123.domain.edu , they are redirected to http://domain.edu/yyy/yyy/yyy/yyy.
The trick is this - we need all sub-directories NOT to redirect. So, whatever is under http://123.domain.edu/subdirectory should not redirect at all. Is this doable? Also, if it is, I have no clue where to go to make any changes, so any instructions would be great. So far, I have found the text file httpd.conf that I can edit, but I have no clue about the rest.
View 1 Replies
View Related
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
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
Apr 19, 2008
I moved the home directory for apache from /usr/local/apache2/htdocs to /home/username/www
When I go to browse the site, I receive a 403 error, You do not have access to / on the server.
It gave the OK default page for apache before moving so I am assuming it is a permission issue.
What do I need to do? apache is running as the default "daemon" user and group.
View 10 Replies
View Related
May 31, 2014
I had setup an apache home server. here the 80, 8080 ports are blocked . So I made my apache to listen to 4040 port. but the problem now is ,i use cloudflare service to point my domains to my server. now its showing error when i give my ip because the port is not 80. i tried putting dns host point to xxx.xx.xxx.xx:4040 in cloudflare but shows invalid ip ...
View 1 Replies
View Related
Oct 25, 2007
What else do I have to do?
I don't understand.
Please see attached screen-shots.
[url]
[url]
[url]
[url]
View 1 Replies
View Related
Jan 2, 2014
I'm using Vertrigo 2.30 which in turn uses Apache 2.2.26 as part of its stack I am trying to set up virutal host on Windows 7 home premium.in httpd.conf I have uncommented Include conf/extra/httpd-vhosts.conf in C:WindowsSystem32driversetchosts I have
127.0.0.1 localhost
127.0.0.1 localhost
198.0.65.217 talknowradio.com # www
198.0.65.217 paranormalpalaceradio.comcastbiz.net # vhost
in C:Program Files (x86)VertrigoServApacheconfvertrigo.conf I have
<Directory "C:Program Files (x86)VertrigoServwww">
Options Indexes FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from All
</Directory>
[code]...
my primary domain still works perfectly but the virtual host I created keeps loading 403 error page I have checked the Apache error log and I found two instanses of
[Tue Dec 31 08:33:29 2013] [error] [client 198.0.65.217] script 'C:/Program Files (x86)/VertrigoServ/www/vhost/modules.php' not found or unable to stat, referer: URL....I have no clue where or why its reading a module.php file granted I do use Nuke Evolution on my primary site but the only page in the virual host folder is a index.html I have checked and double checked.
View 16 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
Jul 19, 2014
I have recently switched from Ubuntu to Mint because I would like to enjoy out of the box functionality. I installed Apache, PHP and Mysql. When I go to localhost, the page displays correctly indicating that the server is functioning. In /var/www/html I created devPages. In devPages I created a symlink to a directory in my home directory where I keep all of my html/php files.
When I point my browser to http://localhost/devPages/1/ I get "You don't have permission to access /devPages/1/ on this server". This appears to be a permissions/ownership issue. I don't want to change the permissions for the directory or files in the home directory because they are set to work properly on my production server. Is there a way to get apache to accept files in my home directory?
I have set owner and group for devPages and the symlink to www-data. Set permissions to 755 for devPages.
By the way, under Ubuntu, I have always used a symlink and it always worked without any issues.
View 1 Replies
View Related
Jan 13, 2009
what is the difference between www and public_html? I have hosed my domain in a small hosting company and when i was going through all its folders i found both the folder www and public_html has the same content. but by hosting company asks me to upload all my files into public_html. Iam curious to know the difference between these two folders.
View 19 Replies
View Related
May 12, 2007
I'm a customer and don't know much about server management, so like title says, is it okay to put php.ini in public_html?
View 14 Replies
View Related
Jan 31, 2007
I'm currently using this in my .htaccess:
Code:
RewriteEngine On
rewritecond %[url]
rewriteRule ^(.*) [url]
I have this in my root (public_html) folder. However when you go to [url]
it redirects you to [url]
I'm already in the root. Why would it try to go to public_html/public_html?
What's the correct implementation of this .htaccess?
View 0 Replies
View Related
Jul 24, 2009
what should be ideal chmod permission for public_html and other folders.
is 755 fine ? what is most secure one
View 14 Replies
View Related