Apache, Windows, .htaccess, and more
Right now if you use a query in the url bar like this you can get the results without using the captcha on my site. http://example.com/results.php?s=google.com&q=1 I need to make it so that this can only be ran from my site. So somehow if the page header is not from my site they would get...
Hey, ive been going thru tutorials, but cant seem to figure it out. I want this URL, and others, like this, http://www.draftwatchers.com/prospects/profile.php?playerid=1 to be either, www.draftwatchers.com/prospects/1 or even www.draftwatchers.com/prospects/Joe-Smith Something like that.
I finally managed to get Apache running but only if you use an IP address to get to it. I've no managed to get MySQL running as well but i can't get PHP to work with Apache. This seems odd to me because i've never had these problems before but last time i did PHP i was using windows XP. Has...
I have webalizer2.0 installed. I tried setting up a cronjob that ran once an hour but all I get is an email tlling me that the job failed. Webalizer :- Errrrmmmm.... I would disagree at this point on the claim that it runs as a cron job. The cronjob was set and reports a success in...
Hi, Was wondering if anyone could shed any light on a strange problem I'm having with mod_rewrite: I'm trying to rewrite urls so that www.domain.com/mycategory displays the page www.domain.com/page.php?catid=1. My rewrite rule is RewriteRule ^mycategory/?$ page.php?catid=1
I recently created a folder within my root folder. I want it to be password protected. I know my user name and password, but when I log in I get a 403 Forbidden Error. I was told I need an index.html file to prevent this. We do not want an index file within the folder. We only want the ability to...
I would like to be able to cause my server to show each error code from 404, to 501 etc and to run though the list and to show me what appears, is there a tool or a online tool that can do this?
Hello I need to make sure I'm doing this correctly so not causing any other problems accidentally. Had two recommendations for having other kinds of page extensions be able to read php code and don't know which one is the most recommended way with fewer problems, or if there is a better recommended...
Hello, I have a problem on how to redirect URLs on a social networking site that i owned on their URL redirection like http://www.madridbarca.com/profile.php?user=miccy to http://www.madridbarca.com/miccy/ , how can i edit my .htaccess? This is my htaccess code: RewriteEngine On Options...
I am not sure if this is the right forum, but here goes: I have set up password protection for a folder on my website using .htaccess and .htpasswd. This works as it should for IE, Firefox, Opera and Google Chrome; that is anyone trying to access the folder is prompted for a user name and...
Hey guys, I'm tryign to use a .htaccess file to rewrite the url so far its working for the most part. I have managed to remove .php extension from all files. the problem is though it is now disregarding any index.php file. for example www.domain.com/register/ should realize that it is a...
I've been having some troubles with bounce backs and some blacklisting on my server account. I have the rDNS setup fine, but someone suggested to me to begin adding SPF records to my accounts. I found it wasn't too hard to do, but I don't know too much about it. Anyone have any thoughts? What's the...
I have the latest stable build of Apache 2 installed on Windows XP. Everything is doing fine except I would like to change the DocumentRoot to another drive letter, from C:/foo to E:/foo. I like to keep my data off drive C if at all possible, and that includes any dev projects I'm doing. I even...
When serving XHTML files, I was given the following suggestion on how it should be served: application/xhtml+xml: the file in it's full glory; text/xml: the file as XML with an XSLT Stylesheet transforming it to HTML; text/html: the file transformed server side using the above mentioned...
Hello, I want some code to stop this security hole that can hacker shut down Apache with making too many connections at the same time. Regards
Hi I have an issue with mod_rewrite here you have examples. I am trying to add this rule: RewriteRule !\.(js|ico|gif|jpg|png|css|htc|swf)$ dispatcher.php As above it works fine, but I would like to have it in the vhost.conf rewriting only for specific subfolders
This is the error I'm getting: How do I add this module to Apache 2.2.4?
Hi all, Apologies to begin with... I'm a bit of a newbie and have what will probably be a really silly question for you all. I have bought hosting with 123-reg (yes I know probably a big mistake)... I am trying to create a member area on my site. Now 123-reg doesn't use anything sensible...
Hello, I've run into a bit of a problem with an SSL certificate giving a cert_error for the https://domain.com version of our website, however the certificate works just fine with the WWW version, and am not sure how to fix this to avoid any possibility having this error come up. Ideally...
How exactly do you design HTTP headers, and where do they go in your HTML file? I've yet to find a website that explains it easy enough for me to understand it.
I have create several websites but now I am looking to restrict certain areas of my website and I am also looking to redirect a user to a certain area based on their password. I would also like to have the option to let people retrieve lost passwords. Below are a few examples of some software that...
What can you do with Apache Mod Rewrite? I use it to make search engine friendly URLs, but I've seen whole books dedicated to the subject, so that leads me to believe you can do a lot more with it.
I have a directory with flv videos in it. I have devised a system to, as best I can, keep the URLs entirely hidden from the user as I load them into a flash player through a php script. I want to, as much as possible prevent other scripts (on other domains) from accessing this directory and prevent...
I need some help with a mod rewrite. I have a web application up and running on a subdomain (http://foo.bar.com) I want to be able to access this application from a directory on the root domain. (http://www.bar.com/foo). I see how you can do the reverse of this, but I can't get it to work....
Hi, Can we redirect this URL using htaccess? From: http://www.ABC.com/members/DUMMY_FOLDER/sites/XYZ/x1/index.php To: http://www.ABC.com/members/sites/XYZ/x1/index.php
There are currently 3 users browsing this forum. (0 members & 3 guests)
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.
Forum Rules