Directory-level configuration file found mostly on Apache web servers
0
votes
1answer
27 views
Webserver insists on opening “blog1.php” instead of “index.php”
I'm at my wits' end.
I have just ripped out a website and in the process of rebuilding everything.
Previously, the 'home page' of the website is a blog, with the address ...
0
votes
0answers
8 views
how to configure mod_bwlimited through htaccess
The mod_bwlimited module in htaccess apparently displays an error if bandwidth is exceeded.
Anyone know what options are available for configuring it through htaccess?
0
votes
0answers
16 views
Restricting A Directory Through .htaccess
I'm trying to put all of my FTP accounts into a folder on /public_html/ftp and password protect it so search bots can't crawl their private files. I'm also trying to redirect all site traffic from the ...
0
votes
0answers
11 views
.htaccess do not work without index.php on CodeIgniter [closed]
I have read a lot of topic with the same problem but I do not find the solution. I have a LAMP into Ubuntu server. My document root is /home/utente/ into this dir I have another dir (turni) with a ...
0
votes
0answers
11 views
Restricting URL w.r.t HTTP method and setting different authentication mechanism for each
I shall start with an example. I want to authenticate for POST requests only for http://path/to/logical/abc.xml . How do I put constraints like this as the paths are logical and location directive is ...
1
vote
1answer
57 views
Restricting post method and authentication to specifc URL paths in Apache .htaccess
I shall start with an example. I want to restrict to POST requests only for http://path/to/logical/abc.xml and restrict to GET only for http://path/to/logical/def.xml. How do I put constraints like ...
0
votes
1answer
16 views
.htaccess 301 Redirect [duplicate]
How do I make it so all traffic is directed for the entire site and all subdirectories from non-www to www
Here is my .htaccess contents:
RewriteEngine on
<IfModule mod_suphp.c>
...
0
votes
0answers
17 views
.htaccess support for change directory name
Please note that I have installed dynamic web pages (php) in the directory “public_html/old/” in order to create the web site “www.example.com”. Actually I have created a phpbb forum and thus the URL ...
0
votes
1answer
42 views
Using Apache's rewrite module to set up local host names for development
I have several websites on my development machine under Apache's htdocs folder. Apache Directory root is htdocs, but I want to be able to access each different site there by individual domain names. ...
0
votes
2answers
33 views
htaccess 301 redirect for payment page
I have a client who currently runs a venue and has ticket purchases made available through a third party. The way the site currently works is that there is a standard href in the nav menu to the ...
0
votes
1answer
16 views
.htaccess language redirects with seo-friendly urls
How do I setup my .htaccess file to detect several languages, and redirect them to specific seo-friendly urls?
Basically every url needs to go to index.php?lang=(...)
So, for English language ...
2
votes
2answers
103 views
Replacing an existing website – SEO considerations for broken links?
I have built a new website to replace a client's existing company website on the same URL. The content is entirely different, and none of the page links are the same.
Do I have any issues to worry ...
0
votes
1answer
52 views
Password protecting dynamic URLs in Apache
I am handling many logical files request using the Apache server. To make the path simple I have used mod_rewrite in the httpd.conf.
Now I am planning to enforce authentication on these logical file ...
2
votes
2answers
57 views
301 redirects and non-existent directories
I just wanted to clarify something; my boss often messes up and tells a customer to go to a specific directory; i.e. mysite.co.uk/directory/ instead of the actual correct URL ...
0
votes
2answers
40 views
prevent access via .htaccess *TO* a given hostname
I have a website which is accessible via several hostnames.
I would like to put something in an .htaccess file that would simply block any request requesting a particular hostname.
For example, say ...