MS Virtual PC - How To Access My Localhost (Apache) Subdomains On Guest OS?
I've just downloaded Microsoft Virtual PC and the Internet Explorer 6 Application Compatibility VPC Image containing an XP installation for testing sites with IE6 [url].
Everything works fine, I chose VPC Shared Networking (NAT) and I can access the internet from the VPC as well as my Apache development server which runs on the host OS (Win XP) by going to the host's IP address which is [url] in my case. And here I have 2 problems:
1. I want to access [url]on VPC just by typing [url]. I added the following line to the hosts file:
192.168.52.141 localhost
But this doesn't work. Interestingly, any name other than localhost works fine, for example:
192.168.52.141 localhost.localhost
or
192.168.52.141 local
This is not a major problem but I'd prefer localhost. Any ideas how to do that?
2. And the more important issue: on my host OS I have some development sites which I have set up to be accessed by subdomains, for example [url], in httpd.conf:
Code:
<VirtualHost 127.0.0.3>
ServerName perfekt.localhost
DocumentRoot C:wwwperfekt
DirectoryIndex index.php index.html
</VirtualHost>
and in hosts file:
Code:
127.0.0.3 perfekt perfekt.localhost
And now I want to access this site from my VPC too by using subdomains like this! How can I do that? The address 127.0.0.3 seems to be local to the OS and VPC can't see it. I have tried setting other IP addesses in httpd.conf but nothing outside the 127.x.x.x range works on either OS. I suppose I need to make each of my sites to be seen under a different IP from the outside network so that VPC (which is "outside" the host OS) can access them - then I just set up the appropriate subdomain names in VPC hosts file -
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Configuring Subdomains In Apache On A Localhost
I'm currently trying to configure apache 2 to handle subdomains. This is on a local machine (not tied to any domain names) and I'm only doing it to research how the final structure of a site 'could' be setup. Basically I have a single install of Apache 2 running. The outcome eventually should be to have specific sub domains that all point to the same document root as the actual domain name. So eventually I will have: http://www.mydomain.com http://subdomain1.mydomain.com http://subdomain2.mydomain.com with both subdomains showing the content at mydomain.com (there is reasoning behind this but I'm not gonna go into that). I have apache setup as follows: NameVirtualHost *:80 <VirtualHost *:80> ServerName daneastley DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs" </VirtualHost> <VirtualHost *:80> ServerName subdomain1.daneastley DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs" </VirtualHost> <VirtualHost *:80> ServerName subdomain2.daneastley DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs" </VirtualHost> Now on my local machine, only the top one works - the subdomains dont. if I add the following into my hosts file in windows, they all work: 127.0.0.1 daneastley 127.0.0.1 subdomain1.daneastley 127.0.0.1 subdomain2.daneastley the problem being, that I wish to test this enviroment on the local network. How would I go about having every computer being able to access this? I'm assuming it comes down to DNS stuff.
View Replies!
View Related
DirectAdmin - Access Denied For User 'apache'@'localhost' (using Password: NO)
I get the following error when let my site connect to my database: Access denied for user 'apache'@'localhost' (using password: NO) But when im running lil test script which connect to my localhost with the same passwords and it gives the status 'Connection OK' (im running on admin account, made a MySQL account with DA) Code: <?php $link = mysql_connect('localhost','admin_removed','removed'); if (!$link) { die('Could not connect to MySQL: ' . mysql_error()); } echo 'Connection OK'; mysql_close($link); ?>
View Replies!
View Related
Installed Apache Can Access Via LAN IP + Localhost But WAN IP Doesnt Work
I'm on windows vista. I've got an SDSL line into the house with a dedicated IP 62.etc. I've then got a Prestige 791R and all PC's plugged in to that. I've also got a wireless router for my Wii set up. Basically I've set up this DHCP thingy to start at 192.etc.3 and the Wireless router is at 192.etc.1 and the Prestige is at 192.etc.2 my pc is at 192.etc.9 This is about where my knowledge stops unfortunately. I have installed apache as the most basic default install I think you can and it seems to be working absolutely fine. I'm assuming I could also install PHP and MySQL etc and wouldn't have too much of a problem, however, my friend cannot seem to access the environment from the WAN IP and when I type in my WAN IP I get the prestige router's control panel. I read somewhere that I needed to forward port 80, now I can 'open' ports in the prestige control panel but I did try opening port 80 in the control panel and pointing it to my LAN IP (92.etc.9) but it didn't seem to work. I'm at a bit of a loss so if anyone could point me in the right direction I would be most grateful, just to clarify: //localhost loads the html file 100% //192.etc.9 loads the html file 100% //62.WANIP internally loads my prestige routers control panel //62.WANIP externally does not load a page (cannot be found) If you need any more info just let me know and I'll get it.
View Replies!
View Related
Limit Access To Localhost
I have a win2003 server running some apps in the 'default web site' I have just installed PHP on the 'default web site' and I want to use it to run some admin jobs. BUT I do not want the PHP scripts to be accessible over the internet, they should only run from local machine. Is it possible to set it up so that the files can be executed only by localhost?
View Replies!
View Related
Fast MySql Access- Localhost
I've been using Dreamhost for years and they're very good, but their MySql databases are quite slow. Then I moved to ServInt with a VPS, and my MySql is on localhost instead of on a different server. WOW! It's so fast! However, now I'm trying to find a shared hosting package that has fast MySQL service. I'm not sure if the requirement is that it's on localhost but it sure doesn't hurt. Is there anyone who is familiar of a good solid shared hosting package with fast MySQL service?
View Replies!
View Related
Access Denied For User 'root'@'localhost
I'm getting the error after running [root@server ~]# mysqladmin processlist Quote: mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: NO)' I'm running plesk on FC4. Not too sure why it says failed or denied, as I'm root?
View Replies!
View Related
ERROR 1045 (28000): Access Denied For User 'root'@'localhost' (using Password: NO)
Im trying to setup a mysql server on my centos vps server. Ive installed mysql server and done chkconfig and the mysql server has started. My problems start when i want to set a mysql root password. Quote: mysqladmin -u root password yourrootsqlpassword mysqladmin -h server1.example.com -u root password yourrootsqlpassword I get an error "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)" Which i totally dont understand because why would it want a password when im trying to set the password?
View Replies!
View Related
ERROR 1044 (42000) At Line 21: Access Denied For User 'umar_cs'@'localhost' To Data
in ssh i try create new database root@server1 [~]# mysql -uumar_cs -ppassword umar_cs </home/umar/public_html/localhost.sql it is show direct ERROR 1044 (42000) at line 21: Access denied for user 'umar_cs'@'localhost' to database 'umar_cs' i try from script same message i think maybe the problem from the size in this file /etc/my.conf set-variable = max_connections=500 i change to set-variable = max_connections=500M and restart mysql and i try create same problem!
View Replies!
View Related
Wildcard DNS Subdomains Working, But Existing Subdomains Not
I've set up the affiliate manager from jrox.com for a client of mine. This includes the setup of wildcard DNS so that each affiliate can have username.clientssite.com and have it count their clicks - which works properly. What isn't working properly is that he also has forums.hissite.com, which is loading the main website page instead of his forums. He is using cpanel to add the subdomain, and it isn't failing, so I'm not sure what's going on with it. Here is the relative section from the httpd file. Quote: <VirtualHost 74.53.106.146> ServerAlias residualvictory.com ServerAlias *.residualvictory.com ServerAdmin webmaster@residualvictory.com DocumentRoot /home/residual/public_html BytesLog domlogs/residualvictory.com-bytes_log ServerName www.residualvictory.com User residual Group residual CustomLog /usr/local/apache/domlogs/residualvictory.com combined ScriptAlias /cgi-bin/ /home/residual/public_html/cgi-bin/ </VirtualHost> <VirtualHost 74.53.106.146> ServerAlias www.forums.residualvictory.com ServerAlias forums.residualvictory.com ServerAdmin webmaster@forums.residualvictory.com DocumentRoot /home/residual/public_html/forums BytesLog domlogs/forums.residualvictory.com-bytes_log ServerName forums.residualvictory.com User residual Group residual CustomLog /usr/local/apache/domlogs/forums.residualvictory.com combined ScriptAlias /cgi-bin/ /home/residual/public_html/forums/cgi-bin/ </VirtualHost> And the bind file for his domain Quote: ; Modified by Web Host Manager ; Zone File for residualvictory.com $TTL 14400 @ 86400 IN SOA ns1.lucidic.com. root.lucid.lucidic.com. ( 2007050705 86400 7200 3600000 86400 ) residualvictory.com. 86400 IN NS ns1.lucidic.com. residualvictory.com. 86400 IN NS ns2.lucidic.com. residualvictory.com. 14400 IN A 74.53.106.146 localhost.residualvictory.com. 14400 IN A 127.0.0.1 residualvictory.com. 14400 IN MX 0 residualvictory.com. mail 14400 IN CNAME residualvictory.com. www 14400 IN CNAME residualvictory.com. ftp 14400 IN A 74.53.106.146 forums 14400 IN A 74.53.106.146 www.forums 14400 IN A 74.53.106.146 * 14400 IN A 74.53.106.146
View Replies!
View Related
Apache Virtual Configuration
Someone had mentioned a way to use virtual apache configs, this way you wouldn't have to reboot apache each time you add a new domain to your box. Can you tell me what dso I need to use? Also is there a conversion tool to grab the configs you have now, and migrate them to the external files?
View Replies!
View Related
Apache 2.0 Virtual Hosts
I just have a question about an Apache 2.0 error. I am running a web host and I am using VHCS for my web hosting control panel which creates virtual hosts in Apache's config files. Whenever I have a certain number of virtual hosts (200 or more roughly) Apache will start giving me problems with no messages about what went wrong. Some examples of what Apache does is that it will crash when I run "apache2ctl restart" or it just won't run when I start it sometimes. It really annoys me since I'm wondering if it's an Apache memory issue. Any ideas on what to do or how to solve this dilemma?
View Replies!
View Related
About Apache Virtual Hosts
i bought some webspace and i have uploaded mywebsite.I need to configure my domain atomuss.com to have virtual hosts.How is that done?.I have tried contacting my webmaster and it seems he is making himself unavailable everytime i speak want a word with him. Anybody..
View Replies!
View Related
Apache Virtual Host
For some reason, the first virtual host i have listed in apache2.conf gets all the traffic of all the other virtual hosts listed below it. Example: Domain xyz.com is listed as the first virtual host. the second, third, and fourth are 123.com, 987.com, and mno.com, respectively (fictitious domains). However, it seems that everything below xyz.com goes straight to xyz.com. If i switch the first entry, xyz.com with any of the others, such as mno.com, so that mno.com is the first virtual host entry, everything then forwards to that domain.
View Replies!
View Related
Apache Virtual Host, Can't Use Allowoverride
I have a virtual host and I want to allow .htaccess files to be used, but that requires to put allow override yes in the virtual host declairation as its off by default, but I get this error: Starting httpd: Syntax error on line 16 of /etc/httpd/conf/virtualhosts.conf: AllowOverride not allowed here This completly ditches my whole virtual hosting idea that I've been planing for a while. Any other way to allow .htaccess through virtual hosts? using apache 2.2.3
View Replies!
View Related
Apache ReverseProxy On Virtual Host
Today I configured a Virtual Host (VH) for one of my customers. VH run on WindowsServer 2003 Apache 2.0.59. I enabled mod_proxy and mod_proxy_http modules and successfully loaded. Here is the VH config: Code: <VirtualHost xxx.xxx.xxx.xxx:80> ServerAdmin admin@example.com ServerName www.example.com DocumentRoot C:/Apache2/htdocs/www/example.com DirectoryIndex index.php <Proxy *> Order Deny,Allow Allow from all </Proxy> ProxyRequests Off ProxyPass /cms-test [url] ProxyPassReverse /cms-test [url] ProxyPass /cms-eshop [url] ProxyPassReverse /cms-eshop [url] ErrorLog logs/www.example.com-error.log CustomLog logs/www.example.com-access.log combined </VirtualHost> According stated above proxy should map the content of yyy.yyy.yyy.yyy:80 and send it to client... Apache doesn't do that but redirects client directly to yyy.yyy.yyy.yyy instead, even rewriting URL, what is not proper purpose of proxy. I would expect proxy to retrieve content from yyy.yyy.yyy.yyy:80 and forward it to client without URL rewriting. Rewriting URL and direct aiming of client to source of content is unsuccessfull of course, because the source (yyy.yyy.yyy.yyy:80) trust only to xxx.xxx.xxx.xxx which has a right to request a content. Could anybody explain why proxy doesn't proxy and redirects instead?
View Replies!
View Related
Setting Up Virtual Host In Apache
I'm trying to setup a subdomain, and this is what i've added in httpd.conf <VirtualHost 000.000.000.000> ServerName dir.domain.com DocumentRoot /home/domain/html/dir/ </VirtualHost> Am i missing something here? I restarted httpd when finished.. but it doesnt work.
View Replies!
View Related
Apache - Run Virtual Host As User
I've run into a wall trying to run apache with multiple websites allowing users to use FTPd to manage files. I'm running FreeBSD 7.1 on Apache 2.2.x The issue is that Apache runs as www:www but FTPd writes the files as username:client. When performing some scripts that edit back-end files, this obviously can cause errors. The data for each directory is stored in /home/username/www I looked into some apache directives I could use. I tried putting User and Group directives into the vhost configuration for each vhost, but that did not work. I even found the perchild module and it looked like it can do the job but was a bit scared and turned off by the fact that it states it is beta at the top of the page. (I cannot link to it because I do not have enough posts.)
View Replies!
View Related
Ubuntu + Apache + Virtual Host + Subversion
i have followed twice a tutorial (you'll find it if you type in google "sellersrank ubuntu subversion". It is the second result. You know, I cant insert URL in my posts yet...) to install Ubuntu + Apache + Virtual host + Subversion, but when i try to access the repository through "svn.domain.com" an error message like this is showed: Address Not Found Firefox can’t find the server at svn.domain.com. I have Ubuntu 8.04 + Apache 2.2.8
View Replies!
View Related
How To Enable The Virtual Directory Support In Apache For Mod_rewrite
I am having a lot of problem in implementing mod-rewrite in the Apache 2.0 server due to its configuration that it has the Virtual Directory Support "Disabled". I got this information from the function phpinfo() which displays a lot of other configuration values along with that. Now I am unable to enable this Virtual Directory Support in the server and for this my mod-rewrite through .htaccess is not working at all.Subhasis
View Replies!
View Related
Win 2003 Apache 2.2 Virtual Ssl Hosts
I have been tearing my hair out over this, I have a small problem, I am trying to set up multiple virtual hosts using ssl on port 443. I have followed instructions and set up IP based hosts with my single network card having two different IP's. but the problem is that the second IP is not recieving any requests from the router as it is using the certificate from the first host and diverting to the result of the first sites authentication process. any one know how I can do this, the first router forwards all requests to the second more secure router which then forwards to the server which is working fine. I need to get this to work and don't know how. both routers support NAT and ther servers first IP address has been assigned a NAT IP. I can't include the conf file as the board won't let me until I have posted 5 times....but if you need it I can email it or something the virtual hosts on port 80 are name based....does this matter?
View Replies!
View Related
Apache File Access
I'm trying to set up Apache on CentOS 4. I'm using Apache 2.0 and it can't seem to access anything outside of the /var/www directory - it gives an Error 403. I thought this would be down to SELinux but this is disabled. I've run the following command on the directory but with no luck: Code: chown apache /home/jmaskell -R
View Replies!
View Related
My Apache Access Log
As per subject, I have a cpanel server and lately there is something seems wrong with my apache access logs. /usr/local/apache/logs/access_log The problem is the log did not recorded website being accessed in details Quote: 218.111.202.105 - - [24/May/2008:22:53:37 +0800] "-" 408 - 127.0.0.1 - - [24/May/2008:22:55:01 +0800] "GET /whm-server-status HTTP/1.0" 200 31811 74.53.197.2 - - [24/May/2008:22:55:17 +0800] "-" 408 - 74.53.197.2 - - [24/May/2008:22:55:23 +0800] "-" 408 - 219.93.152.12 - - [24/May/2008:22:56:34 +0800] "-" 408 - 207.234.129.249 - - [24/May/2008:22:56:42 +0800] "-" 408 - 203.130.242.48 - - [24/May/2008:22:56:56 +0800] "-" 408 - 203.130.242.48 - - [24/May/2008:22:57:01 +0800] "-" 408 - 76.184.65.88 - - [24/May/2008:22:58:07 +0800] "t&rls=org.mozilla:en-USfficial&client=firefox-a" 501 - 127.0.0.1 - - [24/May/2008:23:00:01 +0800] "GET /whm-server-status HTTP/1.0" 200 32935 127.0.0.1 - - [24/May/2008:23:01:36 +0800] "GET / HTTP/1.0" 200 3473 58.186.201.58 - - [24/May/2008:23:02:22 +0800] "-" 408 - 203.130.242.48 - - [24/May/2008:23:04:11 +0800] "-" 408 - 203.130.242.48 - - [24/May/2008:23:04:15 +0800] "-" 408 - 127.0.0.1 - - [24/May/2008:23:05:01 +0800] "GET /whm-server-status HTTP/1.0" 200 32548 72.29.95.45 - - [24/May/2008:23:06:13 +0800] "-" 408 - 72.29.95.45 - - [24/May/2008:23:06:13 +0800] "-" 408 - 195.82.99.126 - - [24/May/2008:23:06:43 +0800] "-" 408 - 195.82.99.126 - - [24/May/2008:23:06:49 +0800] "-" 408 - 195.82.99.126 - - [24/May/2008:23:06:54 +0800] "-" 408 - 74.53.197.2 - - [24/May/2008:23:08:16 +0800] "-" 408 - 127.0.0.1 - - [24/May/2008:23:10:01 +0800] "GET /whm-server-status HTTP/1.0" 200 31890 127.0.0.1 - - [24/May/2008:23:10:18 +0800] "GET / HTTP/1.0" 200 3473 208.101.51.84 - - [24/May/2008:23:10:46 +0800] "-" 408 - 62.193.196.250 - - [24/May/2008:23:13:18 +0800] "-" 408 - 62.193.196.250 - - [24/May/2008:23:13:24 +0800] "-" 408 - 62.193.196.250 - - [24/May/2008:23:13:29 +0800] "-" 408 - 127.0.0.1 - - [24/May/2008:23:15:05 +0800] "GET /whm-server-status HTTP/1.0" 200 33145 127.0.0.1 - - [24/May/2008:23:19:08 +0800] "GET / HTTP/1.0" 200 3473 127.0.0.1 - - [24/May/2008:23:20:02 +0800] "GET /whm-server-status HTTP/1.0" 200 32720 67.15.205.17 - - [24/May/2008:23:22:26 +0800] "-" 408 - 127.0.0.1 - - [24/May/2008:23:25:16 +0800] "GET /whm-server-status HTTP/1.0" 200 31203 209.25.195.74 - - [24/May/2008:23:26:21 +0800] "-" 408 - 209.25.195.74 - - [24/May/2008:23:26:24 +0800] "-" 408 - 209.25.195.74 - - [24/May/2008:23:26:27 +0800] "-" 408 - 209.25.195.74 - - [24/May/2008:23:26:29 +0800] "-" 408 - 209.25.195.74 - - [24/May/2008:23:26:33 +0800] "-" 408 - 209.25.195.74 - - [24/May/2008:23:26:36 +0800] "-" 408 - 127.0.0.1 - - [24/May/2008:23:28:05 +0800] "GET / HTTP/1.0" 200 3473 My old logs /usr/local/apache_bacup/logs/access_log record them fine Quote: 80.191.80.84 - - [18/Jul/2007:04:21:13 +0800] "GET /ss-xs/?action-spacelist-uid-356-type-blog-starttime-1181520000-endtime-1$ 80.191.80.84 - - [18/Jul/2007:04:21:53 +0800] "GET /forum/archiver/tid-1303.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:22:18 +0800] "GET /forum/archiver/tid-819.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:22:37 +0800] "GET /ss-xs/?17/spacelist-blog.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:22:44 +0800] "GET /ss-xs/?viewthread-1745.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:23:21 +0800] "GET /forum/archiver/tid-2074.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:23:29 +0800] "GET /forum/forumdisplay.php?fid=35 HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:23:58 +0800] "GET /forum/archiver/tid-998.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:24:02 +0800] "GET /forum/archiver/tid-784.html HTTP/1.1" 404 - 127.0.0.1 - - [18/Jul/2007:04:25:01 +0800] "GET /whm-server-status HTTP/1.0" 200 21150 80.191.80.84 - - [18/Jul/2007:04:25:01 +0800] "GET /forum/archiver/tid-2100-page-1.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:25:10 +0800] "GET /forum/archiver/tid-1211-page-3.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:25:37 +0800] "GET /forum/archiver/tid-834.html HTTP/1.1" 404 - 127.0.0.1 - - [18/Jul/2007:04:25:40 +0800] "GET / HTTP/1.0" 200 2860 80.191.80.84 - - [18/Jul/2007:04:26:25 +0800] "GET /forum/archiver/tid-623.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:26:41 +0800] "GET /forum/archiver/tid-25.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:27:18 +0800] "GET /ss-xs/?10/viewspace-18 HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:27:44 +0800] "GET /forum/archiver/tid-802-page-2.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:27:48 +0800] "GET /forum/archiver/tid-1802-page-7.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:28:15 +0800] "GET /forum/archiver/tid-1569-page-2.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:28:31 +0800] "GET /forum/archiver/tid-1133.html HTTP/1.1" 404 - 127.0.0.1 - - [18/Jul/2007:04:30:02 +0800] "GET /whm-server-status HTTP/1.0" 200 21041 80.191.80.84 - - [18/Jul/2007:04:30:19 +0800] "GET /forum/archiver/tid-462-page-1.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:30:34 +0800] "GET /forum/archiver/tid-1900.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:30:42 +0800] "GET /ss-xs?693 HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:30:46 +0800] "GET /forum/archiver/tid-1501-page-2.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:31:48 +0800] "GET /forum/archiver/tid-2055.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:31:58 +0800] "GET /forum/archiver/tid-2050-page-2.html HTTP/1.1" 404 - 127.0.0.1 - - [18/Jul/2007:04:34:04 +0800] "GET / HTTP/1.0" 200 2860 80.191.80.84 - - [18/Jul/2007:04:34:32 +0800] "GET /forum/archiver/tid-2019.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:34:53 +0800] "GET /forum/archiver/tid-744.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:34:59 +0800] "GET /forum/archiver/tid-2135.html HTTP/1.1" 404 - 127.0.0.1 - - [18/Jul/2007:04:35:01 +0800] "GET /whm-server-status HTTP/1.0" 200 21102 80.191.80.84 - - [18/Jul/2007:04:35:11 +0800] "GET /ss-xs/archiver/ HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:36:38 +0800] "GET /forum/archiver/tid-781-page-2.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:37:04 +0800] "GET /forum/archiver/tid-1216.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:38:09 +0800] "GET /ss-xs/?viewthread-1879.html HTTP/1.1" 404 - 80.191.80.84 - - [18/Jul/2007:04:38:29 +0800] "GET /forum/archiver/tid-275.html HTTP/1.1" 404 - 127.0.0.1 - - [18/Jul/2007:04:40:02 +0800] "GET /whm-server-status HTTP/1.0" 200 21191 how do I make my apache to log the access log in details again?
View Replies!
View Related
Apache, Linux, Access Denied Error
I have apache, php, and mysql setup on CentOS 4.4. I have phpMyAdmin running perfectly in a folder in /var/www/html/phpMyAdmin. I can access phpMyAdmin and use it perfectly. I downloaded Cacti which is a server monitoring application written in php, nothing special. I untar the file and it creates a folder, I simply do a mv command from /home/sys/cacti to /etc/www/html/cacti. Then when I open my browser and attempt to access: [url]I am getting a Access Denied error. It makes no sense though, I have verified the permissions of the files and folders, all good. The group owner and owner are root, the files are all -rw-r--r-- and the folders are drwxr-xr-x.
View Replies!
View Related
Mounted RAID Storage - No Access From Apache/php
I have a problem with my new server's setup. It's using a big RAID storage mounted to the main system. When it comes to shell everything is fine, I have access to the disk and files. Problems rise when I try to access the storage content from my php scripts (running on apache) - "Permission Denied" ... Anyone knows where might be the problem? I suppose it's because of using RAID but I'm sure it's doable.. somehow.. When I tried to use CLI mode it looks fine - PHP script can access RAID'ed folders when running like : php /var/www/html/filetest.php
View Replies!
View Related
KVM Hypervisor And Guest OS Setup
I have been using Linux for the past 3 or so years, either running it for workstations or servers, and now I want to set up a server for Virtualization. I have been doing a fair bit of research about the different ways of doing this, and I have decided to go with KVM. I usually use CentOS, but will have to use Debian to use KVM. I just have a few questions about the best way of setting it up. We have a pretty powerful server* which we are planning on collocating to a data centre and running web servers from the VMs. Virtualization seems like the best way to allow for simpler administration, and also allow us get the most out of our server's resources. *Intel Xeon X3230 Quad Core, 8GB Ram, 4x 15k 147gb SAS (RAID 6) What is the best way to set this up then? I was thinking we could install Debian as the Host/Hypervisor over the whole drive, and give it a 16GB swap partition. Then I guess when the VMs are installed they live on the Debian drive as a file, or do they need their own partitions? Are the guest OS's capable of using the Host's swap space? Its bad enough losing 16GB as a swap partition to the host OS, but please don't tell me I need to supply the VMs with their own swap partition aswell - im curious as to if the server will ever need to use swap space as it has alot of ram, let alone require extra swap for each VM too? KVM is still very new, but does anyone know any good books/resources out there? The virtualization books I have seen don't seem to cover KVM, just Xen and others.
View Replies!
View Related
VMWare - WinXP As Guest On CENTOS - Networking
OKay here is the set up: I have a CENTOS 64bit running, with 1 guest OS (WinXP) in a VMWare Server. I have tried the following: I have 6 public IP's attached to my 1 Ethernet card in the CENTOS host. Try 1: The Guest OS is set to use "Bridged" Networking. This allows full use of the internet, in both directions. Not exactly optimal, but it does work. I can reach the Guest via RD, which is a requirement for this client. The guest OS is mainly assigned one of the 6 public IP's (x.x.x.118). The problem with this setup is the Guest OS can not reach the host. For example the host has a mail server on it, and when the Guest tries to reach the host, it times out. Try 2: The Guest OS is set up to use "NAT" and gets 192.168.100.128 as its IP via DHCP inside of VMWare. The nat config file for VMWare is set to open port 3389 (RD port). Guest OS can reach the host with out any problem, and can reach the internet with out any problem, however I can not RD in to the Guest OS. I prefer setup number 2 for all the obvious reasons, but I just can not get my IPTables rules to work. This is what I thought should work, but does not: iptables -t nat -I PREROUTING -d x.x.x.118 -j DNAT --to-destination=192.168.100.128 iptables -t nat -I POSTROUTING -s 192.168.100.128 -j SNAT --to-source=x.x.x.118 I realize that would have done all traffic, and defeated the benefits of NAT,but since forwarding only 3389 was not working I tried forwarding everything. Any suggestions?
View Replies!
View Related
32 Bit Xen Guest On X86_64 EL5 Node
Let's make this straight, I have this vps,which is pending cancellation in a few days. Hardware Node = EL 5 x86_64, Vz = Xen I asked my provider for 32 bit centos, I even rebuilt it, but my "uname --all" still Quote: Linux xxx.xxx.com 2.6.18-128.1.10.el5xen #1 SMP Thu May 7 11:07:18 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux so I opened a ticket asking about the vps arch. The provider have told me that to run a vps 32 bit guest, what you have to do is (?) +++++++++++++++++++++++++ yum clean all echo i686-redhat-linux > /etc/rpm/platform +++++++++++++++++++++++++ so yum will exclude any x86_64 packages. The provider has told me also that my "uname" display x86_64 because the hardware node is 64 bit. Is this true ? I'm no linux or vps guru, but that's doesnt feel right at all. This has cause me some issues especially with kernel-headers and some program failed to compile. So, is it possible to run a 32 bit OS as xen guest inside 64 bit node?
View Replies!
View Related
Xen Update, On Bringing Guest Networks Back Up
After a yum update on a centos 5.2 box (including an update to the latest version of xen) my guests don't have a network connection anymore (nor windows, nor linux VMs). The windows VM does see an unknown PCI device (great, no drivers and no internet), of which I guess is the network card seeing there are no other network cards listed in the VM.
View Replies!
View Related
How Do I Host Windows 2008 Server As A Guest OS On My Linux Dedi
How do I run a virtual instance of Windows server 2008 on my Linux dedi? Do I need to partition the server and create a VPS for this or can I run it on something like VMware? (Please look at my other thread here [url]t=857377 to learn more about my server, its resources and current config.) Why would I want to do this? Because my primary desktop OS is still Vista Ultimate 64 and I've invested a lot in Windows-based software and hardware--too much to make a total switch to Linux. But, I don't want to invest more than I have to in order to run a Windows server that allows my business partner to access documents remotely or for us to share various files securely and privately and still serve my mostly Windows-based clients and colleagues. I'm one of, well, two people I know who even use Linux (at least at the OS level and know it). Since my research shows I **can** do this on Centos 5, the responses that would be most useful to me would be those that focus on how I can do this successfully (even if it seems complicate; I can figure it out with help and/or direction) and what to consider or avoid when creating this virtual guest OS on my Linux dedi.
View Replies!
View Related
How Do I Setup A Ubuntu DomU Guest On A CentOS / Fedora Core XEN Server
how to install Ubuntu (either 7.10 or 8.04) as a XEN domU guest on a CentOS 5 / Fedora Core 8 XEN dom0 server? I have tried installing Ubuntu as a fully virtualized guest, but the Ubuntu CD doesn't even bootup. I get the Linux bootloader, and that's it,it doesn't continue to boot. Odd. When trying to install a Paravirtualized guest, I had to use the debootstrap method, but can't get it to boot up. Quote: xm create anya_zanet Using config file "/etc/xen/anya_zanet". Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found ') This is the xen configuration: Code: kernel = "/boot/vmlinuz-2.6.23.1-42.fc8" ramdisk = "/boot/initrd-2.6.23.1-42.fc8.img" builder='linux' memory = 256 name = "anya_zanet" vcpus = 1 vif = [ 'bridge=xenbr0' ] disk = [ 'phy:/dev/System/anya_zanet,hda1,w' , 'phy:/dev/System/anya_zanet,hda2,w' ] root = "/dev/hda1 ro" on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' how to get Ubuntu working on a CentOS / Fedora Core XEN server?
View Replies!
View Related
Vietnamese Localhost
I am a Vietnamese girl and a new member. I'd just like to ask anybody knows about vietnamese localhost? I use appserv, but it does not have vietnamese language, so if I'd like to submit categories, etc. in Vietnamese into my phpmyadmin, it does not work. Only languages are okay, like: English, Deutsch, French, Spain, .... but there are no Vietnamese language. What should I do? We write with latin characters, but there are apostrophes which appserv cannot read. Does it happen to any Vietnamese here in forum? how can write a text in Vietnamese language into phpmyadmin,
View Replies!
View Related
DSL + Localhost
A friend of me would like to setup a local server with my DSL. The problem is the IP address keeps changing and he does not want to purchase a static IP. The script needs to detect the IP address and then email it to the admin over here daily.
View Replies!
View Related
127.0.0.1 Works But Not Localhost
I just installed wamp here on my laptop to set up a developer machine for my website. I am used to going into the browser and just typing in "localhost" and having it bring up the test website. I'm sure there is probably something wrong with the configuration of the wamp files because it works for 127.0.0.1.
View Replies!
View Related
How Associate 127.0.0.1 To Localhost
I've installed WampServer on my Windows Vista machine. Haven't used it for a while but now for some reason I can't access http://localhost, firefox tells me, "Firefox can't establish a connection to the server at localhost.". I can access WampServer via [url]and the main WampServer default page appears. Apache version : 2.2.8 PHP : 5.2.6 MySql : 5.0.51b Which file(s) do I need to edit in order to associate localhost to 127.0.0.1
View Replies!
View Related
Accessing Blog On Localhost
I installed Wordpress on a local install of Apache so that I can play around with it and get my design down before I put it on the web. I can get to the admin and do everything, but I can't actually get to the site. I had an index.html in my htdocs directory, which was deleted, but now when I go to localhost, it just shows the directory.
View Replies!
View Related
Malicious Mail Sent Out Via MailEnable On Localhost
we received a report of a malicious mail being sent from our servers. Problem is that the sender and recipients are not hosted with us. What I'm trying to find out is how the mail got sent out. The ME logs shows that the connection was made from 127.0.0.1 to the smtp service, but that's it. We don't run mail services (pop3/imap/webmail) on the web servers, if that helps any. Have run out of ideas after sifting thru lots of logs (was trying to find if anyone called an application to send the mail and attachments out), but came up empty.
View Replies!
View Related
Unable To Connect Localhost(10061)
I am stuck in re-installing mysql server..... Everything I have removed even mysql service give reboot the machine but still not able to complete the installation. At the end I receive error " Can't connect to Mysql server with LocalHost (10061) By the way if port 3306 is not enabled in firewall can this issue be occurred because of this?
View Replies!
View Related
Local Mysql Server Name, IP Or Localhost
I am using localhost as mysql server name on my config file. then, when I enter [url], the address will automatically change to[url]that obviously getting error. when I change the mysql server name from localhost to the server public IP, everything seems ok. My sql is 4.1.x with php 4.4.7, is that any way I may use localhost instead of IP? or is there any potential danger using IP?
View Replies!
View Related
Bluescreen On Win XP Accessing Localhost
I just installed IIS on my Windows XP machine and any time I access localhost I get a bluescreen and my computer will restart. I have tried to uninstall IIS, reboot, re-install, reboot then try accessing localhost and that does not fix anything. This is on an almost fresh install of Windows. (The computer is only 1 week old)
View Replies!
View Related
Error Connecting To IMAP Server: Localhost
i'm on Linux dedicated box -DirectAdmin panel I use Squirrelmail to se my e-mail. When i try to log inn and read mail i get this message: Error connecting to IMAP server: localhost. Where can i change this...... Squirrelmail SquirrelMail version 1.4.17 By the SquirrelMail Project Team ERROR Error connecting to IMAP server: localhost. 111 : Connection refused webmail ERROR (2): fsockopen() [function.fsockopen]: unable to connect to localhost:110 (Connection refused) (/var/www/html/webmail/inc/class.uebimiau_mail.php:80) RoundCube Webmail Connection to Imap server failed Read on another forum, that this can solve the problem /etc/rc.d/init.d/imaps restart /etc/rc.d/init.d/imap restart -bash: /etc/rc.d/init.d/imaps: No such file or directory -bash: /etc/rc.d/init.d/imap: No such file or directory telnet localhost 143 for imap or 993 for imap over ssl Usage: telnet [-8] [-E] [-K] [-L] [-X atype] [-a] [-d] [-e char] [-k realm] [-l user] [-f/-F] [-n tracefile] [-r] [-x] [host-name [port]] Also Xinetd restart don't help [root@server etc]# /etc/rc.d/init.d/xinetd restart Stopping xinetd: [ OK ] Starting xinetd: [ OK ] Looks like that Imap isn't installed ? Correct me if i'm wrong ..............
View Replies!
View Related
|