I have made a rewrite rule
RewriteEngine On
RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)$ index.php?id=$1/$2
RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/$ index.php?id=$1/$2
if the ...
My client's site has an application form and payment form that need to be served over https.
links to these pages are dynamically generated and I can't see a way of specifying that the link...
How do i create a .htaccess that will check to see if the cookie usrfx exists and if it does do nothing but if it doesn't redirect.
I have a virtual host
x.y.z.edu
and i have many sites that use it
x.y.z.edu/1/
x.y.z.edu/2/
but i need to redirect request for
x.y.z.edu/
to another site. How do i do this...
Hi all,
I'm having issues understanding the setup of a subdomain on my server. I want to create a subdomain for our forum. Very simply: forum.mydomain.com...
A) mydomain.com/forum // M...
My OS is Ubuntu 8.04 and I installed openoffice.org 2.4 and headless package.
I have a normal user(e.g. UserA) and I can lauch openoffice to do some convert tasks in command line mode. I wan...
I am currently trying to compile Apache 2.0.63 under Redhat ES 3. All works until I attempt to "make" the project:
# make
...
...
for dir in /usr/local/src/httpd-2.0.63/include /usr/l...
I've run in to a rather red-herring-like situation that I'm hoping some of you good folks can shed some light on. First some background:
This Apache Web Server is being used as a front end...
I've pretty much done very little mod rewriting in the past, have spent the last couple days trying to get a rewrite to work with no avail.
Essentially I want it to take the subdomain and ...
I have 3 domain names:
.com, .co.uk .de
My goal is to create a .htaccess page with this rule:
if the site is : www.site.co.uk or www.site.de then do nothing
else
default page is index...
I am attempting to collect information from these urls within one php file;
http://www.mydomain.com/en/new-york/
http://www.mydomain.com/en/new-york/new-york-city/
http://www.mydomain.com...
I want to force https:// on the index page only of a site.
Right now, I am using htaccess to append www to the url:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.mysite.com$
RewriteRul...
Dear Experts,
Continuing from here:
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_23731729.html?cid=748#a22478085
How do you set up your server so the se...
I want to protect certain folder in my apache server, how can i do it?? My admin interface doesn't come with a password-protection option, I need to use a httpconf file, how can i set it up? I...
Hi everyone,
I am responsable for a website hosted on a dedicated machine at OVH. I am currently in a state of panic and near-hysteria after accidentally typing "chown -R root" and changin...
Dear Experts,
I have the following which works perfectly in my .htaccess file
redirect 301 /oldpage.php http://www.narmi2.com/newpage.php
But if I add a querystring to the url it stop...
i have setup https on my website. by using this code
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://www.cvbroadcaster.com/$1 [R]
i want to redirect this page to not http...
Is it possible to have Apache log header information for a specific set of IP addresses (and not for others) in a separate log file?
I hoping someone can help this Linux newbie understand a problem I need to solve with 301 redirects. I've enabled the AllowOverride Switch in httpd.conf and created the appropriate .htaccess f...
I'm trying to create a XAMPP stick (which will eventually be a distributed project), but am running into many problems when a computer to which the USB will be plugged in is already running a ...
I have an Apache server that is running a web site and also providing a reverse proxy to a TomCat server.
I have added the Order/Allow/Deny lines to this section of the httpd.conf file
<...
I know this sounds simple but I can't find any "templates" anywhere. Often it is not clear where to put my page names or when to use www or http://www in the code. Some have a phrase here bu...
Hi ..Well maybe it is not apache rather one of the php files that is eating up memory ..but ineither case once I start apache ...I loose almost all of my 2gig rams in no time.
You can check t...
I am new to Apache, and trying to setup a Thawte (www.thawte.com) SSL Certificate to one of the domains hosted on the Windows 2000 Server. The details are below:
- I have attached my curre...
My Apache logs are showing the following error:
Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit i...