xampp

notfound.html is not found

久未见 提交于 2019-12-05 13:32:40
Pretty sure based on various examples (like the one here ) I set things up correctly: 1) I created a file 'notfound.html' in the root directory of my site 2) I'm running xampp, ie. Apache web server, so based on the stuff I've read, Apache looks for a notfound.html in the root directory of a site when a non-existent page is typed in the browser, such as www.mysite.com/NotAValidPage.html and uses that notfound.html for the 404 error message Here's what I've tried and the result of each attempt: 1test) I put my own notfound.html in my site's root directory and enter a non-existent page 1result)

Backbone.js router using pushstate with XAMPP apache server on localhost

混江龙づ霸主 提交于 2019-12-05 13:31:09
I'm trying to get backbone.js's router to work with my XAMPP apache server on localhost. I need to prevent apache from evaluating the directory paths that are supposed to go to the router and just forward everything to /test_backbone/index.html . I've tried everything that I could find, nothing works. Currently, I have this in httpd.conf file: # html5 pushstate (history) support: <ifModule mod_rewrite.c> Options +FollowSymLinks IndexIgnore */* # Turn on the RewriteEngine RewriteEngine On # Rules RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*) /test

Send mail through smtp.gmail.com in symfony 2 using swiftmailer

廉价感情. 提交于 2019-12-05 11:35:37
I am having a trouble of sending mail from xampp localhost using gmail. And after a long time I finally successful on it. And I am sharing it with all you. If I am wrong need proper solution for it. in config.yml of your symfony 2 Write those swiftmailer: disable_delivery: false transport: %mailer_transport% host: %mailer_host% username: %mailer_user% password: %mailer_password% port: %mailer_port% encryption: %mailer_encryption% In your parameters.yml mailer_transport: smtp mailer_host: smtp.gmail.com mailer_user: gmail_user_id_without_@gmail.com mailer_password: Your_gmail_pass mailer_port:

need help with xampp virtual host

天涯浪子 提交于 2019-12-05 10:40:35
I am using XAMPP, Apache 2.2.17. I have added virtual host but my virtual host and localhost both point to the same location. Here is my code in httpd-vhosts.conf <VirtualHost www.domain.tld:80> ServerName www.domain.tld ServerAlias domain.tld *.domain.tld DocumentRoot "C:/xampp/htdocs/workspace/testsite" </VirtualHost> <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs/xampp" ServerAlias localhost ServerName localhost </VirtualHost> With the above code, I get testsite with www.domain.tld so that is good. But If i type localhost, it will go to testsite as well. If I move ahead of test site then

Is there a way to disable browser cache for a single page?

感情迁移 提交于 2019-12-05 10:06:59
For a small intranet site, I have a dynamic (includes AJAX) page that is being cached incorrectly by Firefox. Is there a way to disable browser caching for a single page? Here's the setup I'm using: Apache under XAMPP, running on a Windows server PHP Clarification The content that I'm primarily concerned about is page text and the default options in some <select> s. So I can't just add random numbers to the end of some image URLs, for example. Update: I followed the suggestions I've gotten so far: I'm sending nocache headers (see below) I'm including a timestamp URL parameter and redirecting

【原创】在windows下使用xampp搭建phpcms v9

梦想的初衷 提交于 2019-12-05 09:55:15
我的操作环境:   操作系统: windows 7 64 位操作系统(有点古老,哈哈) 1. 下载php环境和phpcmsv9源代码 : phpcms v9 的源码:phpcms_v9.5.10_UTF8.zip 点击 下载地址 php环境软件:xampp-windows-x64-5.6.40-1-VC11-installer.exe( 严重警告 :不要用 xampp的7.*.*的版本,否则mysql验证通不过) 点击进入 下载地址 ,根据自己的操作系统下载5.6.*的xampp软件。 2. 安装环境 : xampp-windows-x64-5.6.40-1-VC11-installer.exe 双击软件,一路点击下一步 强烈建议安装:C:\xampp, 其中只需安装php和mysql相关的即可。 3. 安装phpcms项目 : 3.1 将phpcms_v9.5.10_UTF8.zip解压到C:\xampp\htdocs,增加一层目录:phpcms 最终路径:C:\xampp\htdocs\phpcms\ 3.2 安装入口: http://127.0.0.1:9018/phpcms/install_package/install/install.php ============== 填写数据库信息: 数据库信息: 数据库主机:localhost 数据库帐号:root 数据库密码:

Starting Tomcat add-on XAMPP not working

老子叫甜甜 提交于 2019-12-05 09:48:21
I installed XAMPP 1.7.7, including: Apache 2.2.21 MySQL 5.5.16 PHP 5.3.8 phpMyAdmin 3.4.5 FileZilla FTP Server 0.9.39 Tomcat 7.0.21 (with mod_proxy_ajp as connector). My all other services work expect for Tomcat. Things that I did right now, to fix this: I realized that I did not had java on my computer, as on command prompt there was no path for java. So I installed JAVA 1.7.0 and also set the "Environment path". But still its not getting started. Any help would be appreciated. Regards Zeeshan Assuming windows os, step 1. Create an environment variable "JAVA_HOME" with path to jdk( imp:- not

Apache shutdown unexpectedly after documentroot change in httpd.conf

ぃ、小莉子 提交于 2019-12-05 09:08:25
I'm currently following this toturial to try to get use a folder in dropbox as my htdocs folder. When I change these lines: DocumentRoot "C:/xampp/htdocs" <Directory "C:/xampp/htdocs"> to DocumentRoot "C:/Users/Håvard/Dropbox/web" <Directory "C:/Users/Håvard/Dropbox/web"> I get the following error: 19:39:52 [Apache] Error: Apache shutdown unexpectedly. 19:39:52 [Apache] This may be due to a blocked port, missing dependencies, 19:39:52 [Apache] improper privileges, a crash, or a shutdown by another method. 19:39:52 [Apache] Press the Logs button to view error logs and check 19:39:52 [Apache]

Error when saving in Web Storm (Permission Denied)

左心房为你撑大大i 提交于 2019-12-05 08:25:46
When I click save in Web Storm I get the following Error: Could not save project: java.io.FileNotFoundException:/Applications/XAMPP/xamppfiles/htdocs/[myFileName]/.idea/workspace.xml~ (Permission denied) As far as I can tell my changes are being saved. Can any one tell me what's causing this and if it's something I need to be concerned about. 来源: https://stackoverflow.com/questions/12733824/error-when-saving-in-web-storm-permission-denied

Localhost not working on XAMPP - both service apache & mysql are fine

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-05 08:25:09
问题 My xampp installation 1.7.1 does not seem to work. http://localhost returns not found error. Xampp Control panel shows both mysql & apache service running fine. I'am on windows vista. Frustrated since past 2 weeks to find a solution to this. Any pointers and support will be appreciated! Thanks a ton folks. 回答1: I struggled for days figuring out why I was getting a blank screen while using xampp. The cultprit was skype. Always turn of skype when you want to use localhost. 回答2: In your "xampp"