URL Changes Without Trailing Slash

Oct 29, 2007

While browsing my site with a web browser, if I place a trailing slash at the end of the URL to browse directories, everything is fine, but if I forget the trailing slash, dashes and underscores are replaced with their encodings. For example, "site.com/name1-name2/" is fine, but "site.com/name1-name2" becomes "site.com/name1%2Dname2/". A quick Google search hasn't helped me solve this. The directory and an index file in the directory does exist on the server.

The server is running Windows Server 2003, IIS6, and Coldfusion 8.

It's probably some IIS configuration...

View 4 Replies


ADVERTISEMENT

Apache's With Trailing Slash

Jul 10, 2007

I'm having some issues with apache and trailing slash.

For some reason, this only happens on one of my sites.

Whenever I try to access the site [url]without the trailing slash, I get a 400 Bad Request error. While if I go to http://example.com/dir/ the page loads up perfectly.

Error logs show nothing.

Code:
2xx.1xx.x.x - - [10/Jul/2007:22:53:09 +0800] "GET /dir HTTP/1.1" 400 506 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4"

View 7 Replies View Related

Subdomains Trailing Slash

Feb 5, 2007

In cpanel > subdomains. I want to redirect topsites.mydomain.com to mydomain.com/topsites

I inputted mydomain.com/topsites for some odd reasons, it goes to mydomain.com
However, when I type mydomain.com/topsites/ (with a trailing slash) it goes to the its intended page. I remember I didn't have to add the trailing slash before.

View 6 Replies View Related

Linux Apache Folder Not Reading Without Trailing Slash

Jan 4, 2007

I am running apache 2.0 on CentOS 4.4 with PHP5 and mysql 5. I am wondering why the following is happening with apache:

if I goto to [url]

This does not work, it times out. But if I goto:

[url]

With the trailing slash it works. That is annoying, anyway to take care of that so it works with or without the trailing slash? Below is my httpd.conf folder and virtual host settings:

---------------------------------------------------------------------------------------------------------------

<VirtualHost *>
ServerAdmin myemail@mydomain.com

DirectoryIndex index.php index.html index.htm index.shtml

<Directory "/var/www/html/">
Options ExecCGI FollowSymLinks Includes IncludesNOEXEC SymLinksIfOwnerMatch

AllowOverride none
</Directory>
</VirtualHost>

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

<Directory "/">
Options FollowSymLinks

AllowOverride None
</Directory>

<Directory "/var/www/html">
Options Indexes Includes FollowSymLinks

AllowOverride None
Allow from all

Order allow,deny
</Directory>

<Directory "/var/www/icons">
Options Indexes MultiViews

AllowOverride None
Allow from all

Order allow,deny
</Directory>

<Directory "/var/www/cgi-bin">
Options ExecCGI

AllowOverride None
Allow from all

Order allow,deny
</Directory>

View 13 Replies View Related

Plesk 12.x / Linux :: Process PHP By Nginx (PHP-FPM) Trailing Slash

Jul 12, 2015

I have a dedicated server with debian 7 and plesk 12.1, I recently install php-fpm from the "Add and Remove Product Components" panel, then I activated the "process PHP by nginx" checkbox on "Web Server Settings " panel. when I did that every internal pages gives me a blanck page (i have a magento website), by looking on the url i found that i have always "/" (slash) at the end of all my urls and that deleting those slash fix the thing, i don't know how to stop php-fpm or nginx from adding this slash at the end of all my urls,

View 2 Replies View Related

Parked Domains And Redirection With Trailing /

Mar 22, 2007

it's possible to stop the redirection of a parked domain URL to my primary site.

For instance if my primary domain was abcd.com and i parked iloveyager.com ontop of it.

The redirection im talking about is this. If i go to

iloveyager.com/shots/ works fine.

however

if i go to iloveyager.com/shots (without the trailing slash) it will redirect me to abcd.com/shots

Doesn't mod_dir cover the redirection of a URL with and without a trailing slash?

I know there has to be a workaround for my problem and whether it lies in a .htaccess rewrite or modifying my apache conf is.

View 0 Replies View Related

Apache :: Trailing Dot Created After Domain Name?

Aug 7, 2014

We are getting the below message in Apache's error.log when accessing from mobile application & updated apache from 2.4.9 to 2.4.10 also.Trailing dot is created after the URL.

I can able to hit [URL] ..... and I can't able to hit [URL] ....

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved