Apache, Windows, .htaccess, and more
Hi, I am on lighttpd engine and I have one doubt :- I am planning to transfer my forum from http://mydomain.com/forum to http://mydomain.com so I need to do something with mod_rewrite rule, as I am running in lighttpd engine, so i need to edit lighttpd.conf folder for it. Now my doubt...
Hello, I'm new here. I have some problems with .htaccess ( mod_rewrite ). I'm traying to make nice links and use mod_rewrite. how ever its ont working how I expected. I have 3 RewriteRuls that and I want to seperet them with a RewriteCond. This is my .htacchess:
I have a problem with configuring apache to use two different documentRoots in two virtualhosts.... they end up pointing to the same virtualhost Here are the virtualHosts directives <VirtualHost *:80> ServerName music DocumentRoot c:/apache/htdocs/music </VirtualHost>
Okay, so if using my .htaccess I deny a spammers IP and want to use a nice custom 403 page it creates a situation where they cannot actually get to my custom 403 page since they are denied access to the site - and thus that custom 403 page - so they get the bland generic server 403 error. How...
Firstly, before you reply telling me not to do this (and I fully understand why) please read my situation. The website I've created for myself loads the file "index.php" and doesn't go anywhere else. All content that the site uses is loaded through ajax - and to allow bookmarking I've created a...
Hi, The website that I am making involves executing 3 batch files. I am executing the batch files using the exec function. When I test the website code on my personal PC with apach server, it is working fine :) The execution of the 3 batch files is done one after the other just like it is...
My web host has a 30 second timeout for php execution and they will only raise that if I buy a VPS or a dedicated server. I do not want to do that for such a small project, but need to upload a .tar file to my server from an admin panel. It is taking a minute or two to upload all files and I get a...
I am new to htaccess and was wondering about something. I just made a subdomain on my webside mainly becouse i want a spesific address to it. Lets say my website is : http://website.com And my subdomain is http://sub.website.com with its main folder in /home/username/public_html/sub/ When i...
Below is my .htaccess file, are there anything that I should change? Options +FollowSymlinks Options -Indexes RewriteEngine on <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f
Was hoping someone might be able to help me with a rewrite issue I'm having. I would like for my clients to control the URL of any page they create in our custom CMS. Let's say my client creates three pages in our CMS and enters the following values for the FURL field: 1....
Hi there, Not sure if this is the best place for this question but seeing how WD members have been so great with resolving my previous issues, I thought I'd try my luck. I'm running Postfix on an Ubuntu server and everything is working fine, except for this. In my /etc/aliases file, I have...
So I have this .htaccess file above my index and my other pages: #FROM DRUPAL 5 2007.05.08 # Various rewrite rules. <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / # Rewrite current-style URLs of the form 'index.php?q=x'.
I am about to publish my site and am doing some final server testing before rolling it out. While I was in development I was constantly previewing in all browsers including IE 7 and 8 in my local browsers as I went along. Everything was working just fine until I started testing server-side and...
Hi folks I have cononical issues with my website and need to redirect the non-www. version to the www. version. My hosting company say this is not possible from the H-Sphere control panel. ISAPI rewrite is also not available. Is there an alternative way? It's hosted on a windows server and...
Hi, I apologise if this question seems to be unprofessional, but i am new to the topic of Virtual machines. I am a student developing a web application which uses MySQL and Virtuoso databases.My university allows the students to host PHP web applications but does not allow students to install...
So during a maintenance, here's what I would have in my .htaccess file: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} !^/maintenance\.php$ RewriteCond %{REMOTE_HOST} !^888\.888\.888\.888 RewriteRule ^(.*)$ maintenance.php Don't mind the 8's, that's where my IP would go. So...
Hello, I'm trying to set up a dynamic virtual host for the first time. Is it possible for be to implement some sort of folder sorting system? For example the first ten sites are in: /Vhosts/1/ The next ten in : /Vhosts/2/ And so on, in order to reduce indexing load and having 400...
Hi Guys, I'd appreciate any help on this, as servers and emails are not my strongest point. Basically, I have a reseller account with a hosting company. This includes the ability to resell email hosting. Recently I received complaints from multiple clients that their customers were getting...
If there is an index.html or index.htm or a variant of these files inside of the directory, the web server won't let you browse through directories. If I redirect “/index.html” to “/”, will this allow browsing of my website directories because it no longer has a page titled “/index.html” or does...
Hello all, I have installed xampp on machine running Windows 7 Home Premium, including tomcat plugin They have all installed successfully and all will turn on. When visiting http://localhost:8080/ I see a blank white page (but it has the tomcat favicon) When running the example from the...
I am trying to get a .htaccess (to redirect non-www to www) file to work on my GoDaddy web server. I created a .htaccess file and uploaded it to my root directory. When I load it directly into the “/”, it gives a 500 server error. So I created a .htacess directory (in the root), and tried...
Does anyone know how to setup/configure multiple servers (running apache) to handle a single page. Like I don't know how many servers webdeveloper.com use, but could anyone tell me: - How to setup them to handle a single url (how request could be distributed)? - How to transfer data between...
RewriteCond %{HTTPS} off RewriteCond %{REQUEST_URI} .wp-content/uploads/ RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} I am trying to call all images from any subfolder of mysite.com/wp-content/uploads/ as https if the URL is https or as http if the URL is http. ...
Hi I have a problem. I need to do a redirection of all requests to index page. The problem is that when I exclude the css/js from the rule the server is trying to resolve the relative path from the address inputed in the browser. Example of problem path:mydomain.com/category/product Since index...
I've been working with the likes of CSS, HTML, PHP, Javascript, etc. and I've just started using my .htaccess . My page's URL looks like this: example.com/directory/?id=1 I want it to look like this: example.com/directory/1 I tried this: RewriteEngine On RewriteRule ^directory/\?id=(.*)$...
There are currently 4 users browsing this forum. (0 members & 4 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