Can I have an Apache .htaccess protected parent directory, but allow non password access to that parent's child directory? And can I to do it with htaccess and not through the main Apache ht...
I have 2-way SSL set up to protect access to a FastCGI server on /backchannel. That works nicely.
Everything else is handled by an application on JBoss called x-view, which is connected to...
Hi,
For SEO reasons I use the following for all of my sites:
# Remove index.php if no query string after it
RewriteCond %{QUERY_STRING} ^$
RewriteRule (.*)index\.php$ $1 [R=301,L]
...
I want to set up an environment to practice learning PHP, i was following W3 schools and they suggested installing PHP and Apache. I have done this and when I put HTTP://127.0.0.1 in a browser...
Hello,
I have a page:
http://www.example.com/404/
or
http://www.example.com/404/index.htm
I want to send a 404 header every time the page is accessed even though the page does exsi...
Hi Guys,
I'm having issues with IE6 not letting me read cookies i've set.
It looks like I have setup the P3P stuff correctly but now I need to add the compact policies as an HTTP head...
Hello!
I'm going nuts trying to figure out why this doesn't work. Essentially, I am trying to build a REALLY simple website with just the browse button. User clicks "Browse", selects the fi...
When I execute the Perl/CGI script on the command line, it works but not through the browser. I am using Apache webserver installed as root in Linux.
OS : => SUSE Linux 10.2
Perl : => v5...
i need a fast apache sever
i use wamp all the time
but i think wamp is very slow when i am using php in order to put info in the mysql database
is there a beter program ?
I'm using GoDaddy shared hosting so must make changes to the .htaccess file and not the server config files. My knowledge of Linus, PHP etc is minimal. I only manage the site for the company...
I have the following rewrite in Apache2.2:
RewriteCond %{QUERY_STRING} =Action=Load&Merchant_Id=1&Section_Id=123
RewriteRule ^/sectionpage.php$ /sale [R=301,NC,L]
The Rewrite works correc...
We've got two IP addresses pointed to a web server (IP1 and IP2). We want both of them to be secured with SSL. We've already got IP1 set up with a wildcart SSL cert and Apache looks like this:...
Hi
I'm looking for solution with Apache mod_rewrite. I want to rewrtite every request for main domain to certaing alias but exclude any other aliases from being rewrite :
f.x. if someone t...
I need some help with mod re-write to make a URL like this
http://12345.domain.com/telephone/
end up like this
www.domain.com/telephone/?id=12345
I need help setting up mod_rewrite rules
I have the following file structure:
http://www.domain.com/index.php
http://www.domain.com/schools.php
http://www.domain.com/business.php
http...
Hi, I recently installed a free version of the Dolphin CMS social network software and alot of the pages are coming up blank. I noticed that when I add a / to the end of the url the pages wor...
In the etc/apache2/site-available directory I copied the default site cfg file and set it for my site. This is the first site on a serve that will host several. After I enable the site I try t...
We had a website on a domain which is now closed and the domain now points to another website on another domain, so the old domain is parked on the new domain. How do I construct a rewrite rul...
I have placed this code into an .htaccess file and saved it to my root folder:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^mydomain.com [NC]
RewriteRule ^/...
I need to 301 redirect in htaccess some addresses that fall within certain directories, so I need to redirect
https://www.domain.com/manufacturers/
to
http://www.domain.com/manufacturers/...
I am really wondering if someone can tell me what does ns3 and ns4 do? should I have it? is it any good? or have disadvantages?
Hi,
I run lots of PHP sites in apcahe server with single IP address. My question is :
I have a domain called www.abc.co.uk and i have added an alisa of it called www.samp...
We have set up ssl and it is currently working. We want our users to be able to use a simpler url when going to our secure website. Is there any difference between a normal redirect (http) and...
I'm using SEO friendly URLs throughout a client site. The RewriteRule function is being used to do this, as follows:
RewriteRule ^index/(.*)/ index.php?p=$1
RewriteRule ^index/(.*)/(.*)/ i...
I have created a .htaccess file at the following location:
http://specialopspaintball.com/shop/
I need calls to the pages: category.asp, parentCategory.asp, and product_detail.asp to be re...