Tagged Questions
3
votes
2answers
82 views
Can the .htaccess file slow down a website to a crawl? If so, are there better ways to solve these problems with different rewrite rules and such?
here is my htaccess file......
RewriteCond %{REQUEST_URI} ^/patients/billing/FAQ_billing\.html$ [OR]
RewriteCond %{REQUEST_URI} ^/patients/billing/getintouch\.html$
RewriteRule ...
0
votes
1answer
27 views
turning openbase_dir off using htaccess
Im trying to run a script on my shared hosting account, i keep getting an error relating to open_basedir, which i understand would normally be turned off in the php.ini file, which i dont have access ...
1
vote
1answer
110 views
Links don't work on new server
I've recently moved from server with php4 to php5. Now I cant open content in my page. Links look like this "page.com/news-it-is-rainy-day-1.html". But when I try to open link I just get the archive ...
2
votes
2answers
243 views
htaccess preventing sqlite database being downloaded
I have a VPS, running apache2 on Debian 6.
Created a file called .htaccess on the web root, which included:
<Files ~ "\.db$">
Order allow,deny
Deny from all
</Files>
...
-1
votes
2answers
55 views
Custom CMS site migration blank page [closed]
I have this client she as a website based on a custom CMS made by the latest company she was working with and she ask me to migrate her website to my server so now I am trying to migrate this website ...
3
votes
2answers
47 views
Installing a PHP framework to a host without public_html or www folders (ftp is DocumentRoot)
I've developed a PHP framework that operates with the directory structure of
/
/classes/
/templates/
/.../
/www/ (public_html)
But I've come across a host that only allows ftp to the ...
1
vote
1answer
63 views
Don't $_GET value on link rewrite with .htaccess
I config enable htaccess on my server (i enable mod_rewrite and do like this: http://stackoverflow.com/questions/11064005/enable-htacess-error-on-ubuntu-12-04-with-apache2)
But on localhost is run ...
2
votes
9answers
4k views
Need to Stop Bots from Killing my Webserver
I am having EXTREME bot problems on the some of my websites within my hosting account. The bots utilize over 98% of my CPU resources and 99% of my bandwidth for my entire hosting account. These bots ...
2
votes
1answer
92 views
file need to go through a php page using .htaccess
I'm looking for a way to convert this type of url : h11p://www.mywebsite.com/dl/F5EGD6
Into h11p://www.mywebsie.com/dl/files/my_file.zip sing a PHP page to request the URL from the DB with F5EGD6. I ...
2
votes
3answers
2k views
.htaccess mod_rewrite 500 internal server error
Whenever I place my .htaccess file in my web directory I receive a 500 internal server error and within the error.log file specifying:
[Sat Jan 21 13:46:07 2012] [error] [client xx.xx.xxx.xx] Request ...
2
votes
3answers
264 views
Mod Rewrite question
Is there a way to rewrite
http://localhost/embed/player.swf?file=http://www.youtube.com/watch?v=7yKDhm4_-90
to something smaller?
or is there a way to change this into
...
1
vote
1answer
42 views
Host website on UNIX, but email on Windows?
Client has web hosting and email hosting from one web provider.
Their email hosting is integrated with their systems for their office — an Exchange server (located on their premises).
Both are on a ...
0
votes
3answers
129 views
Subdomain Is Redirected and Causing an Error Because www. is Added
On my site, say example.com, if I try to access test.example.com, Firefox automatically adds www. to test.example.com, making it www.test.example.com, which causes an error. However, if I visit a site ...
3
votes
3answers
330 views
using .htaccess to redirect .asp to .php?
Ahoy all! I've been racking my brain with this one.
I basically just converted all of my pages from ASP code to PHP code. Kept the same filenames.
So, here is the htaccess code I have so far, but ...
1
vote
1answer
53 views
Forcing adverts via apache configuration file
I have a server I am trying to force adverts for free users. I can do it with a .htaccess file with this line "php_value auto_append_file '/var/www/vhosts/demoblog/demoblog.tk/httpdocs/test_ad.php'" ...