Apache, Windows, .htaccess, and more
I am trying to rewrite my URLs so that they do not contain question marks...
EG - I would like to turn this:
This will not work:
RewriteRule ^/products/ /products.php?
I have released a new version of my web site under /v2/ and now I want a .htaccess rule that redirects everyone from / to /v2/ except if the referrer is /v2/ (because I want to give a visitor of my new site the possibility to visit my old page but noone else). I tried this code but it doesn't work...
I have a site with hundreds of pages and I have redesigned the site, changed the files from html to php and also put files in new folders. Therefore I need to redirect all of my pages on an individual basis. Is the following example code for the .htaccess file correct for this purpose?:
(I'm reposting this post here, after someone in the PHP group suggest I repost here because it's more relevant)
I want to give a develop access to a specific directory and nothing else
I can give them an FTP account with access to a sub directory, but this doesn't exactly solve the problem!
I want to create an anonymous proxy server of my own on my ubuntu web server. I want to set up the server and a web page to use this server from anywhere. How can I do this?
I'm in charge of deploying a reasonably high-traffic dynamic web site built on PHP/MySQL. We are a team of 5 developers and we update the site every 2 weeks.
We use rsync to deploy code to staging and then production, but can't decide on the best approach to managing changes to the database...
Here is what I trying to do:
I want any http request to a particular directory to run a static PHP script. The static PHP script does not reside in the Document_Root, but another directory on the server.
Here is the RewriteRule in my .htacess file in directory 'test':
I do not remember how to change drive to a different drive on the apache sever. I know \\images will take it one level up from htdocs to the images folder, ../../../../ will take it back to c drive, and display the contents, but I want it to go to F:/music and display the contents, and cannot get...
i am getting a few messages from page speed that i am wondering if you guys could help me out with
this is after using minify
"The following cacheable resources have a short freshness lifetime. Specify an expiration at least one month in the future for the following resources:
Hi, I'm going to be upgrading a website and was hoping to allow 1 IP address to view it during the upgrade process (mine), and any other IP except mine to redirect to another page.
How can I do that with .htaccess?
I'm a rather new website builder/administrator, and have a slightly tricky (for me) problem that I'd like a little help with.
One page of my website is:
I've created a 301 redirect to send people from ../blog.html to ../blog.php in case they type...
Apache linux server hosted on GoDaddy, I have an .htaccess file that points old URLs to new URLs as we just rebuilt the site. It does not work as hit an old page and you just get the 404 page and not redirected to the new page location. I fear, if we do not get on this quick, we will loose SE...
Is there any sort of mod command in Apache the allows me to specify a list of directories to be searched when looking for a certain web document?
Here's what I am attempting to do:
I have a default web document located in (example) /document_root/defaultDirectory/
I may wish to override...
I've searched for this problem in recent threads, and as I couldn't find it in any of them, I decided to start this thread. I am a magnet for weird problems.
There's this groupware webapplication that I want to test, and for that, I put it on my own personal domain using FileZilla....
Hey, I'm having a bit of trouble with this vanity url. I have a setup like:
I basically want it to ignore the filler directories, go to page:
My original rule was:
RewriteRule ^services/page_(.*)/$ /services/?n=$1
Hi there! The thing i want to find out is how to redirect in htaccess the hits i recieve from other sites category to my sites category.
I recieve hits from http://somesite.com/spots.php
and i wanna redirect to my http://mysite.com/spots.php
How can i do this work in htacces?...
Is it true that you can download Apache to just test your website on without actually using the server software to deploy it to the web?
Is it possible within the httpd.conf file to have multiple <Directory> tags referencing the same directory path?
#set of directives…
#another set of directives…
Well, wrong timezone may be the wrong description, but here's the situation. I'm on the East coast, and of course it is still daylight savings time. When I look at the access logs, it shows the correct time, but the offset from GMT shows -0500 and it should be -0400. I've added
Apache2 on Mac OS X 10.6 (Snow Leopard) does not seem to be working
When I put the following URL into Safari
Safari returns the message:
Safari can’t open the page “http://localhost/dev/gfrm.cgi?init” because Safari...
I'm having a spot of trouble getting a password-less login using SSH key pairs.
I've generated key pairs for SSH/SCP using ssh-keygen, leaving the passphrase blank. The public key has been placed in .ssh/authorized_keys on the remote server. And, the private key resides in my...
I would like to redirect 301 to:
This is not so intricate for a single page, but I have:
I have xampp 1.7.2a installed on my MacBook Pro 10.5.8. I run all my local websites from my "Sites" folder.
Up until now I have had no issues running php scripts. I setup a database using MyPHPAdmin which went fine. When I try and view some supplied files I get the following error:...
Hi, this is sasidhar.
we are getting problems with sendmail.
we have a site, when user registers we are sending a confirmation mail to user.
The problem is some times it is not sending mails to users.
The user accounts are valid.
This is what I am getting reply to my mail
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.