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 Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
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
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 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
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
Limit Access To A File (or Folder) To Only 2 IP's
I have a file on my server called admin.php and a folder called "admin" I only want 2 IP addresses to be allowed access to those files. can this be done in .htaccess? if so can someone give me an example? I have spent ages trying to work it out myself but I'm a bit of a noob thanks in advance what should .htaccess files be chmod'ed to ideally?
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
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
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
Can't Connect To MySQL Server On 'localhost' (10055)
Do you guys know anything about this? My server works perfectly with INSERT, UPDATE, DELETE for mysql. but after like 12 hours later, my application crashes and I get this "Can't connect to MySQL server on 'localhost' (10055)" and I would have to restart my applications and everything will be working perfectly. Do you guys have any idea why this happen? I do have a lot of connections coming in and out of my server. Would that mean anything?
View Replies!
View Related
Mail Server & Webmail In Localhost
I want to run a local Mail Server + Webmail Client (opensource. I googled and I found hmailserver[server] and Roundcube [webmail]. the problem that i can't config any of them How have an other alternative for mail server or a solution
View Replies!
View Related
Sendmail Sends From Localhost.localdomain No Matter What I Try
I have these lines in sendmail.mc and I've compiled the sendmail.cf with them: LOCAL_DOMAIN(`freesexdoor.com')dnl MASQUERADE_AS(`freesexdoor.com')dnl FEATURE(masquerade_envelope)dnl MASQUERADE_DOMAIN(localhost)dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl I have the users daemon, freesexd and root in the trusted_users file. I have restarted sendmail (using service sendmail restart). I have the domains: server.freesexdoor.com, freesexdoor.com and mail.freesexdoor.com in the sendmail's local_hosts file. In Apache 2's httpd.conf, I have this: php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f freesexd [at} freesexdoor.com' Yet when I sent an e-mail with php to advertising [at} freesexdoor.com, I got these headers in the e-mail, which don't look good to a spam filter: Received: from localhost.localdomain (IS-3293 [127.0.0.1]) by localhost.localdomain (8.13.8/8.13.8) with ESMTP id Received: (from daemon@localhost) by localhost.localdomain (8.13.8/8.13.8/Submit) id Message-Id: <200712180935.lBI9ZrRs005480@localhost.localdomain> Additionally hotmail rejects my e-mails and it is obvious why. (My OpenSPF record is fine btw and on my former server I was able to send e-mails with it fine.) Naturally I want something like "freesexdoor.com" to replace "localhost.localdomain" in those header lines. So how can I get this working? The OS is CentOS 5 by the way.
View Replies!
View Related
IIS 5 - Cant Access Page From IE7 But Can Access From Firefox
I found a great little app called ID Shutdown Manager which bascially lets you do stuff like wake on LAN, Shutdown, Log Off etc. The App also has a cgi script which you can call from a web server so you get a web interface to the program. This is exactly my reason for getting the app as I just wanted to host a web page where I could login from the internet and wake on lan my media PC. Ok so... The app gives you all the iis or apache setup instructions and tells you to place the cgi script which is actually a .exe into the scripts folder and then enable basic authentication for it. Done. So if I navigate to <SERVER>/scripts/sdmancgi.exe its supposed to give me a user / pass prompt and then when login successful I see the app and can wake on lan etc. ok I have got this to work on the actual machine where server is running I can access it in IE7 by localhost etc.. and it works However when I try to access from another PC in my lan by typing <SERVER>/scripts/sdmancgi.exe I get a nice little message saying the content cannot be displayed you may require to insall a program or something to display it. If I try to access the page from firefox on same remote PC, it works! I can also access page from outside my LAN, it works on my N95 browser. Also I have had friends try it from firefox from the Internet and they say it works as well. Forgot to mention I am running on port 8081 as I already have other servers running on 8080 and 80 (one is my router and the other server installed itself from setup.exe and I dont know what server its using) I have also tried latest apache server as well as some other free one. Both have the same effect. Ok in firefox, not in IE. One would think its a problem with the cgi file not compatible with IE7 however, I even tried to go to default page setup in IIS <SERVER>:8081 and I get the same message. So at this point the server hasnt even tried to access CGI or prompt for Basic Authentication. I tried googling and not much luck. I read something about CSS and when I view source of failed web page from IE7 it mentions something about CSS so dont know if this is it?
View Replies!
View Related
Can't Access Dns Only Remote Access Key
I have successfully installed dns only to my vps. the problem is when i try to add it to the cluster system on my other vps it asks for a remote access key, so i visit both ip:2087/scripts/setrhash and ip:2086/scripts/setrhash and it shows an unable to connect error in firefox. this is both using [url] does anyone know how i can access the remote access key?
View Replies!
View Related
How To Change VZ SSL To "localhost.localdomain"
I'm planning to buy a high end VPS for reselling as a whole. Does any one know how to change the VZ SSL to localhost.localdomain as shown in the attachment? I asked many providers and non of them like to change this. I got one provider willing to change this for me but he's not very sure how. Someone told me that "Ask your provider to study how VZPP is handled by apache in the service container and they should find his way through" I'm already aware that this should be done from the main hardware node not from the clients VPS itself.
View Replies!
View Related
My MySQL "localhost" Not Resolving
My CMS was working fine until today. Today, suddenly it won't resolve "localhost" of my MySQL correctly..so a hack was implemented and instead of "localhost" a loopbackaddress was hardcoded into configuration file of the cms. Now it works fine again. Any ideas as to what could be the problem here? Also, could this have some other consequences I should be aware of?
View Replies!
View Related
How Do I Secure Remote Access To Remote Access Products
I have windows servers that I'll be co-locating very soon. I have purchased a Dell 2161ds-2 and an APC remote boot power strip. Could someone please tell me the best way to secure remote access to these products. Do I put them on public IP's and allow them through the firewall or do I put them behind the firewall and access them after I authenticate through the firewall.
View Replies!
View Related
Localhost Server With Mail Server
I would like to set up a localhost server with a mail server too, I usually use uniform server as I find it very easy to get up and running and carry around with me, are there any better solutions, I have found it difficult to get a mail server running on the uniform server. or maybe there are distributions that come with mail server ready built in?
View Replies!
View Related
Limit Mysql
i dont want clients taking the servers I/O and server load over 4.00 when they do major update ect... querys on sql. is there a way to limit the ammount they can do?
View Replies!
View Related
Bandwidth Limit
I am going to run a VPS as a VPN proxy server and therefore I was asking myself if it is possible to freeze or shut down the VPS before it exceeds it bandwidth limit of 100GB a month?
View Replies!
View Related
Suspend At Limit
I recently used these forums to help narrow my search for a reliable, competent host. I choose to avoid the larger hosts that sells unlimited or large amounts of disk space and bandwidth. I went with a smaller host that sells a 1GB disk space and 10GB bandwidth package that is reasonably priced. Keep in mind that my site is new and will likely only be visited by friends and family. I feel this package is appropriate for my needs. Should I be concerned about a host that will suspend my site if I reach my limit? As a customer I would rather be notified to upgrade my account instead of having my site suspended. This practice of automatically suspending sites may very well be the normal procedure for most hosts thus the reason for my post today. Please share your opinions on this topic.
View Replies!
View Related
How To Limit Downloads
i have alot of files on my server, each of one more 60 mb can i limited download so when somebody download file cant download other file in same time? and pervent using if programme to download? and also now Server Load 0.94 (2 cpus) Memory Used 50.9 % Swap Used 5.59 % and i see in top /usr/local/apache/bin/httpd -DSSL many time and kill the memory all thing about my server here [url]
View Replies!
View Related
4 Gb RAM Limit
I have a server with the following specs: 2 x Xeon 2.0 Ghz 4 x 2 Gb DDR RAM (8 Gb total) I am trying many OS's but none of them worked as it should: - Windows 2000: install aborted - Windows XP: install aborted - CentOS 4.4: install OK but Kernel panic on start-up - CentOS 3.8: instal OK, only 3.8 Gb identified but the OS out of 8 Gb - CentOS 3.8 64 bits: couldn't install, CPUs support only 32 bits Add to this, the machine boots on EL Kernel on CentOS 4.4 but not on the SMP Kernel! how I could run this machine on Linux with 8 Gb RAM?
View Replies!
View Related
Limit Users In PureFTP
Is there any option to limit users only to upload (No other permissions like permission change, directory access etc, only upload) in FTP.. I am using PureFTP.. I have seen options to do it in ProFTP, like below, <Limit APPE MKD XMKD READ DIRS> AllowUser username1 AllowUser username2 </Limit> Is there any option to set in PureFTP ?
View Replies!
View Related
Limit Download Speed
im using vmware in centOS dedicated server how i can limit Download speed for each IP ? OR how i can limit download speed for each Vms? OR how i can limit download speed for all Vms?
View Replies!
View Related
Bandwidth Limit Exceeded
Bandwidth Limit Exceeded The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later. Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at confidentchemicals.com Port 80 Bandwidth limit gets reset every first of month but what to do when users reached to this limit between 1 to 10 days? we don't want to upgrade users packages or bandwidth limit rather than allocated. why can't we reduce bandwidth limit? __________________
View Replies!
View Related
User_beancounters Memory Limit
in the user_beancounters below Which is responsible for memory limit? And Which the unit(bytes, kb, Mb, Gb)? # cat /Proc/user_beancounters Version: 2.5 uid resource held maxheld barrier limit failcnt 100: kmemsize 2780345 5144991 11055923 11377049 0 lockedpages 0 0 256 256 0 privvmpages 33433 68587 262144 262144 40404 shmpages 640 656 21504 21504 0 dummy 0 0 0 0 0 numproc 41 70 240 240 0 physpages 17144 46756 0 2147483647 0 vmguarpages 0 0 33792 2147483647 0 oomguarpages 17144 46756 536870912 2147483647 0 numtcpsock 27 35 360 360 0 numflock 6 8 188 206 0 numpty 1 2 16 16 0 numsiginfo 0 28 256 256 0 tcpsndbuf 207948 270556 1720320 2703360 0 tcprcvbuf 204424 1665268 1720320 2703360 0 othersockbuf 19424 57300 1126080 2097152 0 dgramrcvbuf 0 261888 262144 262144 2605 numothersock 21 51 360 360 0 dcachesize 0 0 3409920 3624960 0 numfile 927 1748 9312 9312 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 numiptent 47 47 128 128 0
View Replies!
View Related
Limit Connections - DDOS
one of my friend say that if i install an apache module which one limit the users conection can help me to protect from ddos. becaus one of my users domain is under ddos and i think that if i limit his conection, if sombody wants to do ddos and open conection foraxample up 30 he is attacker and ban. is it right and how i can do it and limit a one user?
View Replies!
View Related
Limit Download Speed
What's best way to limit upload/download from/to server? I have found this [url] about mod_cband Is mod_cband best solution ? This can be done also with mod_bandwith, default enable on whm/cpanel, as write here: [url]
View Replies!
View Related
|