Limit Access To Localhost
Jun 9, 2008
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 4 Replies
ADVERTISEMENT
Aug 28, 2012
How can I allow only one ip or a list of ip addresses to access port 8443.I need to limit access this port to few ip addresses and not everyone
View 6 Replies
View Related
Aug 2, 2008
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 11 Replies
View Related
Jun 8, 2007
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 3 Replies
View Related
Oct 30, 2008
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 0 Replies
View Related
Mar 23, 2007
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 0 Replies
View Related
Jun 20, 2009
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 2 Replies
View Related
Jul 12, 2009
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 6 Replies
View Related
May 21, 2009
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 10 Replies
View Related
Jul 20, 2007
Is it possible to limit FTP access when hiring someone to work on a site/script. I'd like to limit the access to certain folders and files.
View 2 Replies
View Related
Apr 19, 2009
Is it possible to limit ftp access to a server to only one ip address?
View 5 Replies
View Related
Feb 22, 2007
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 2 Replies
View Related
Jul 11, 2014
Is it possible to limit the max number of concurrent access to an url?
Let's see the following example: URL...
/a1 concurrent access should be limited to for example 20.
While we have an other url:
https:/ssss.com/a2
/a2 should be limited to 30.
Is it possible to do it with some apache config?
View 1 Replies
View Related
Sep 27, 2014
On the dashboard (intro page) there is the option "Outgoing Mail Control" and there the link "See report". When clicking on "See report" I get a "Warning: Permission denied." error message when being logged in as the full administrator. Is this due to an error in an update or what is going on here?
View 1 Replies
View Related
Apr 27, 2007
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 2 Replies
View Related
Jul 7, 2009
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 4 Replies
View Related
Mar 27, 2009
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 4 Replies
View Related
Jun 18, 2008
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 4 Replies
View Related
Jun 19, 2007
I am failed to catch this spammer, please help me to find out the source. There is no such domain on my server. User is using localhost in smtp, I am using mail enable standard on my server ....
View 2 Replies
View Related
Sep 11, 2007
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 5 Replies
View Related
Aug 18, 2007
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 2 Replies
View Related
Dec 9, 2007
I've had a localhost server setup for awhile now, and all of a sudden when I access [url]it wants to download my "index.php" file. However, when I access it via [url]is loads fine.
View 7 Replies
View Related
May 20, 2014
I have Apache 2.4.6 running without problem on Windows 7 Ultimate.
I upgraded to Apache 2.4.9 by:
Stopping Apache;
Renaming the 2.4.6 directory to "old";
Extracting the files from the zip to the Apache directory; and
Copying the old httpd.conf to the Apache directory.
After rebooting I found that I could not access localhost (or 127.0.0.1).
I then reverted to Apache 2.4.6. Localhost is now working.
View 2 Replies
View Related
Apr 27, 2006
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 0 Replies
View Related
Jul 9, 2008
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 4 Replies
View Related
Feb 23, 2008
Does anyone know where the seek order information is located on an apple iphone. I installed lighttpd on the mobile, however I can only see localhost when I'm online.
View 2 Replies
View Related
Jun 5, 2008
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 7 Replies
View Related
Apr 5, 2007
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 5 Replies
View Related
Jun 29, 2007
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 2 Replies
View Related
Oct 10, 2013
I have a simple app where i am currently downloading some images from the internet. I want to use a local web server to host some of these images when i am not connected to the internet. I installed the apache web server and added the images folder under htdocs - my document root.
Now, i want something like when i continue to query images from www.examplesite.com/xyzimage.png within my app, it should be redirected to localhost/images. Is this possible? I tried doing this
In C:WINDOWSsystem32driversetchosts i added this line URL:...
Also in the httpd.conf i set the foll -
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?examplesite.com$ [NC]
RewriteCond %{REQUEST_URI} !^/examplesite
RewriteRule ^(.*)$ /images/$1 [L]
but it doesnt seem to work.
View 1 Replies
View Related