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 ...


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 ...


6

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.


5

If wamp is running make sure no other program conflict Wamp such as IIS, Microsoft Web Deploy, SQL, Skype, Zonealarm, firewall/antivirus, NOD32, Eset, any web related program including Remote Desktop, Teamviewer ... IIS and Apache/Wamp are both web server and might conflict in some way, so you have to disable IIS in order for Wamp to work Disable IIS in ...


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 ...


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

Probably the server doesn't recognize the script as executable, and that's why it offers it as a downloadable file. These lines should be present in your Apache config. Note that the path may need to be changed for the .so modules, depending on your configuration: *nix: # -- if you're using PHP 5, uncomment this line to activate it LoadModule php5_module ...


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

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

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

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

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

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 ...


3

this one was tricky to figure out at first, but in the end it's the Egg of Columbus: Close all open instances to PHPMyAdmin in your browser Clear cache and passwords (depending on your browser) Visit your PHPMyAdmin URL (localhost/phpmyadmin for example) Enter your new username and password. Repeat process if you need to switch users again.


3

Since Rijk didn't want to answer their own question, the solution was they had to add this line into the .htaccess file. RewriteBase /~rwel/dev/quaestio Hope this helps someone else.


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

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 ...


2

I think by default apache will look into /srv/www for websites, not the users home directory. The first thing I would check is where apache is looking. If you search the internet for terms like "apache .conf virtual host" you should find several how-to guides. Here is the official documentation on virtual hosts. You don't need to create a database, as ...


2

Your error message references /var/www, not your documentroot. So it would be a more broad stanza that covers whether symlinks are allowed (in / or in /var)


2

The solution was that I accessed the website via localhost/path/to/site rather than 1.2.70.59/path/to/site. Once I changed that, it worked.


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

Not necessarily. I know on WAMP you have to edit your Apache conf file to allow other computers to access your websrever. This is for security reasons as software like WAMP and MAMP are not configured to be secure by default. Somewhere in your main Apache conf file you'll find where access is controlled. Change it to be something like this and it should ...


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 ...


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