7

How to set phpmyadmin prompt for login name and password Set the auth_type to http in you config file of phpmyadmin $cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based) $cfg['Servers'][$i]['user'] = 'root'; // MySQL user $cfg['Servers'][$i]['password'] = ''; // MySQL ...


7

From https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/ There's a proposal to add the .localhost domain as a new standard, which will make lives of developers way easier. It would mean site.localhost and everything at *.localhost would automatically translate to 127.0.0.1, without /etc/hosts or dnsmasq workarounds. Refer the RFC here.


6

Open your host file /etc/hosts with a text editor and make sure it contains: 127.0.0.1 localhost If it still doesn't work, run this command: file -b /etc/hosts and make sure the result is ASCII English text and nothing else. If it is not, use an editor such as TextWrangler or BBEdit to clean it up (use Unix end-of-line characters). Source: Apple ...


5

If the PC and tablet are on the same network, it is possible. All you'd need to do is use the IP address of the PC to access the site. So instead of accessing it via localhost (as you would on the PC), you'd access it via 192.168.1.2 (example). If the devices are not on the same network, it's still possible to access the PC with the tablet if you setup ...


5

After much research, I found this article on the Comcast forums: http://forums.comcast.com/t5/Home-Networking-Router-WiFi/SMCD3G-Can-t-access-web-server-from-LAN-from-Internet-OK/m-p/1754823#M55009 Essentially, certain models of Comcast routers (both home and business class) will experience an "issue" where requests made from inside the network "die" at the ...


5

From the Wikipedia entry for .localhost (TLD): As a top-level domain, the name has traditionally been defined statically in host DNS implementations with address records (A and AAAA) pointing to the same loopback addresses. However, as you have found, it would appear that it's just Chrome and later versions of Opera (possibly the WebKit browsers, so ...


4

What you are looking for is XAMPP Portable Lite http://www.apachefriends.org/en/xampp-windows.html. XAMPP is a "Apache distribution containing MySQL, PHP and Perl" and you can use it for developing your website on your local pc.


4

Convert your directory /var/projectA/static to a simple application: create a directory WEB-INF/ in WEB-INF/ create the file web.xml with this content: <?xml version="1.0" encoding="ISO-8859-1"?> <web-app> <servlet> <servlet-name>DirectoryListing</servlet-name> <servlet-class>org.apache.catalina.servlets....


4

Actually when using hosting management software like cPanel, it installs MySQL with default and commonly used configurations: MySQL host = 'localhost' MySQL port = '3306' MySQL User = 'cpanelusername_mysqluser' [1] MySQL password = 'password' [2] MySQL database = 'cpanelusername_database' [3] More explanations about the host address: If your ...


4

You first need a Facebook Developer Account that I'm sure you have already - You need to login and obtain an API Key by creating a new app. You can either use your own web host that has a SSL certification as this is now a requirement on Facebook or you can opt to publish your application using Facebook's Heroku Hosting. Most web hosting comes with SQL ...


4

Folder and File Permissions and Ownership It sounds like you are having ownership problems rather than file permissions. Doing a chmod 0755 will do the following: Owner: Write - Read - Execute Group: Read - Execute Public: Read - Execute Which should allow users to read the directory however it doesn't necessary mean that files can be read or written to ...


4

Remove "http:" from the script src url, like: <script src="//code.jquery.com/jquery-2.1.4.min.js"> In case the problem insists, check if shows errors through Chrome Dev Console and paste it here.


4

This depends on how your network is setup. If you have a central DNS server on your network (as many enterprise business networks have) then you can add a zone record for whatever domain you wish for it to show up as. If you don't currently have a central DNS server you could set one up to achieve what you are after just the same. If both of those options ...


3

This is because of the x-frame-options:SAMEORIGIN response header. If you analyse a HTTP response from YouTube you will see the following: As you can see there is a response header, 2nd from bottom, that sets x-frame-origin to SAMEORIGIN. This basically prevents you from framing content from YouTube in an iframe on your own site. The idea is to prevent ...


3

It sounds like you have the default settings, which, in most Windows packages I've seen, usually means that logging as 'root' with password '' is hard-wired into the code and ignores cookies etc. This means it will never offer a log-in window, because it thinks it already has your details, and until you change these settings, uberconversion's answer won't ...


2

To clear up the localhost thing -- we almost always use localhost to connect to the MySQL server, because it's a separate service on the SAME MACHINE. (Think of it as having a washing machine and a dryer; you put the clean but wet clothing in the dryer which is in the same house (localhost) as the other machine. You don't need to specify your house's address ...


2

i had simalr problem and suggested answers didn't work for me. then read instructions of installing the application from -wampserver.com.... where it says: warning... you install install Visual C++ 2010 SP1 as shown below..... WARNING : You must install Visual C++ 2010 SP1 Redistributable Package x86 or x64 VC10 SP1 vcredist_x86.exe 32 bits : http://www....


2

If you own 'example.com' you can create a subdomain A-record to point to its local IP (192.168.1.X or 10.0.X.X) and then access it that way, or you can make up an 'example.com' you can edit the (PC?)'s hosts file (C:\Windows\system32\drivers\etc\hosts) and create a new entry at the bottom like so: 192.168.1.X laptop.example.com And any time you access ...


2

Did your DNS undergo testing because a many times loopback entry tests ability to process Web requests without actually sending any messages out. I believe it is not needed.


2

I'm not sure this is at all possible. The LOGS need to be its own virtual server. So essentially, set up a new virtual web server (if you're using Apache this is a breeze,) with it's root folder pointing to the same folder as this one does: in http://server2012/logs/. Then, set up your DNS (bind?) to aim the internal traffic from http://LOGS/ to the ...


2

To have emails sent out from a server and to pass certain validation tests you need to configure the server for SPF and DKIM. SPF is a rather simple process that involves setting an SPF or TXT record in your DNS records. The receiving mail server, then checks the DNS record to see if the sending machine is authorized by your domain's records, just as you ...


2

You should really solve this by setting the DocumentRoot correctly on your local test server. Perhaps setup a VirtualHost for this test site, rather than changing your default server config if you are testing several sites? It is a local test server, so should reflect the settings of the live site as close as possible. However, it is possible (but not ...


2

No. If you just want to profile, try xhprof, but any debugging system will have a massive impact on performance.


2

You're trying to load a HTTP resource on a HTTPS page. Your browser may be blocking this external resource because it's considered insecure on an otherwise "secure" page. Change src="http://code.jquery.com/jquery-2.1.4.min.js" to src="https://code.jquery.com/jquery-2.1.4.min.js" and see if that helps.


2

I use the solution of not using absolute links within the site to itself. Instead of: <a href="https://example.com/page.html"> Use protocol relative links: <a href="//example.com/page.html"> Or root relative links: <a href="/page.html"> Then your site works on your development server even if you view it over http rather than https.


2

Yes. Depending. Client Side: Most OSs allow for the editing of the hosts or hosts.txt file to associate a network name or domain name with an IP address. This is a client side option. You would do this on your desktop computer so that it knows how to address the request packet. Here is more detailed information including example settings. https://en....


2

Self-clicking is against Google Adsense Policy. Google doesn't tolerate any spamming activity like these. but if you made click by mistake once then are enough chances that Google will not close your account. But if you are doing it again and again then it will. But any user can click on your ad. for that there is no action against you. but for this, you ...


2

By locally I assume you mean on your local desktop and that your coworkers are on the same campus. To answer your question more specificaly, we would need to know what your operating system is. However, your coworkers should be able to access the website via your IP address assuming your network administrators have not blocked it somehow. For example, ...


1

Please double check all of the following: (assume aaa.bbb.ccc.ddd is the LAN IP of the HOST operating system (Windows 8). If you are going to use NAT (safest) then proceed to step 2. If you are using 'Bridging' instead of 'NAT' then you can skip to step 6, but instead of forwarding the ports to the HOST's LAN IP then you'll forward directly to the LAN IP of ...


1

I think you'll find the problem is your VirtualHost declaration. Replace: <VirtualHost mydomain.info> <VirtualHost localhost> With: <VirtualHost *:80> You also don't need the ServerAlias lines unless you want to direct multiple domains to the same VirtualHost More info: http://httpd.apache.org/docs/current/vhosts/name-based.html


Only top voted, non community-wiki answers of a minimum length are eligible