Jump to content

Search the Community

Showing results for tags 'apache'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 15 results

  1. In a bid to make my site faster I thought I would do as the site tests suggest and implement gzip page compression. I have checked to see that gzip is enabled. Check. I have added the following code to my .htaccess file. (I also tried the AddOutputFilterByType DEFLATE text/plain but that didn't seem to work, which may be down to the fact that I hadn't added <? ob_start("ob_gzhandler"); ?> at that time) <ifModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ mod_gzip_item_include mime ^application/x-javascript.
  2. I am organizing the folder structure of the site in what I thought was a sensible manner, but I am running into some major folder path headaches. There must be some sort of path variables/environment vars that can be set somewhere to alleviate this. As an example, I put all of the common stuff here (header, footer, css, images, etc): example.com/common If a file inside of the example.com folder calls header.php, it is simple: <?php include "common/header.php"; ?> If it is two levels deeper, using relative paths (yuck - please help) it is as follows:
  3. I'm looking for directives that help solving the problem of redirecting a not existing subdomain towards the www subdomain. I know/guess .htaccess is used, but cant figure out how. My present situation is that existing subdomains are redirected well. I adjusted virtual hosts in this way: <VirtualHost *:80> ServerName mysite.dev ServerAlias mysite.dev *.mysite.dev DocumentRoot X:/wamp/www/TestVirtHost/ <Directory "X:/wamp/www/TestVirtHost/"> Options +Indexes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> <
  4. Hello everyone. I tried to install and configure PHP and MySQL for use on my own website using XAMPP. However, the Apache module gives me an error each time I try to start it. 10:40:53 [main] Starting Check-Timer 10:40:53 [main] Control Panel Ready 10:41:07 [Apache] Problem detected! 10:41:07 [Apache] Port 80 in use by "Unable to open process" with PID 4! 10:41:07 [Apache] Apache WILL NOT start without the configured ports free! 10:41:07 [Apache] You need to uninstall/disable/reconfigure the blocking application 10:41:07 [Apache] or reconfigure Apache and the Control Panel to l
  5. Hello everyone, I am not sure if this is the right place to post since I do not know for sure if it is PHP that causes my issue, so I apologize in advance if I shouldn't have posted here. I am using WampServer Version 3.0.0 64bit (Apache: 2.4.17 | PHP: 5.6.16 | MySQL: 5.7.9) on windows10. I am updating a website and I am keeping the database the same, except from some small optimizations here and there. I have a query that selects all active rows of a specific category, then I fetch the results and show the rows: if(mysqli_stmt_prepare($stmt, "SELECT * FROM myTableName
  6. In my current website project, I would like to design a secure area for members. I have built basic login systems before, but I want to build something more secure this time. One of the things I would like to do it route requests using the HTTPS protocol. In my research on how to do this, I have been starting to learn about SSL certificates. As I understand it, in order to create an SSL encrypted connection that users can be confident in, I must purchase a certificate from a certificate authority (CA). I am questioning whether I really need to do this, though. Neither money nor information
  7. Hi guys, I have wamp installed on my windows vista home basic. It was running fine till a while ago. Now when I try to run it it would not load local host. Here is what all I have tried : Upgraded to wamp 2.2e Made sure port 80 is free Made sure skype or any other software is not conflicting with wamp Checked my hosts, and other config files for local host (but suggestions are welcome in case I have missed something. installed .net 3.5 sp1 frame work. When I try to load wamp I am getting a popup which says "Aestan Tray Menu has stopped working". Any suggestions would be welcome. Thanks in ad
  8. I've downloaded Apache 2.22, MySql 5.6.10 and PHP 5.3.5. I've set them ready in Computer A in my home. I'm able to visit my website by typing localhost in the browser in Computer A. I have another Computer B in my home. I use a router to get on internet. A and B share the router. 1.By now, am I supposed to be able to visit my website from computer B by just typing A's IP address (say 192.168.2.9) in the browser? If it's not working, is it because of the router's firewall? It's not OK whether I tried to ping A's IP address on B, or the other way around. Does this mean A and B can't communicate
  9. I installed wamp on my windows machine and when i tried to open localhost on my browser i received the message."you dont have permission to access / on this server." I searched this on the internet and got to know that there is problem with file and folder permissions.I shoulls change it to 644 and 755.But can you help me on how to change the permmissions.
  10. Hey everybody, been a long time. I come bearing a question. I'm working on a website for a couple of buddies, and I'm trying to add some ambiguity in the AJAX calls by using Mod_Rewrite. RewriteEngine onRewriteRule ^([A-Z][A-Za-z]+)\\?(.*)?$ /modules.php?mod=$1&$2 At first I thought there was an error in my Regular Expression, so I decided to test it out in Javascript. Say I am trying to request /Data?user_id=1 The Javascript version returns exactly what it should, [Data,user_id=1], but the page redirects to /modules.php?mod=Data. There isn't even the ampersand, anyone have any ideas abo
  11. I am kind of new to the whole server admin side of the web. I just learned UNIX through a very handy video, and I can definitely see it's advantages. The video showed ma a lot as far as working in the command line, and different things that I can do. What it did not show me was how to manage a web server remotely through unix. I know it is possible, through SSH (I slightly understand how it works). My eventual goal is to just purchase(or rent) my own web server running ubuntu(or whatever flavor of unix) and be able to completely manage it through no UI. I'm interested in learning things about
  12. Hi there I have mod_rewrite installed on my apache server, I've successfully got some rewrite rules working but one is just not working! I have a search box that produces a url like this: /search/query-here I have a page called search.php which accepts query strings like q=query-here Here is my rewrite rule that works on my site locally: www-mysite.com:8888 RewriteRule ^search/(.*)$ search\.php?q=$1 Although my search.php is being hit/loaded, no query string is being passed to my live version. When I echo $_SERVER['SCRIPT_FILENAME']. "?".$_SERVER["QUERY_STRING"]; out I get: LOCAL: /search
  13. Hi, I have WAMP installed as well as IIS. IIS is on port 80, Apache runs on port 8888 via WAMP I want to be able to hit: http://www-mydomain-co-uk:8888 and for it to bring up: http://localhost :8888/mydomain/index.php So far I have taken these steps: httpd.conf: <VirtualHost *:8888>DocumentRoot /www/mydomainServerName www-mydomain-co-uk# Other directives here</VirtualHost> and hosts file: 127.0.0.1 www-mydomain-co-uk When I hit http://www-mydomain-co-uk:8888 I get: Forbidden You don't have permission to access / on this server. So I'm on the right lines but what the ######
  14. Here is what I want:I want to allow these domains:http://mydomain.comhttp://www.mydomain.com Want to disable these file types:jpg,jpeg,gif,png,bmp Want to redirect that request to:http://mydomain.com/sorry.html Actually this feature is provided by my host but due to some reason I can't enable this, I will have to do this manually.
  15. I encountered a weird problem with Apache recently. It was not serving pages. After a little bit of research, I found the solution. It surprised me. Apparently Skype and Apache conflict for port 80. So if you have Skype installed, you must modify it to not use port 80. This blog shows how to do it. Just wanted to share that in case you are encountering the same problem. I never would have guessed that Skype had anything to do with it!
×
×
  • Create New...