0
votes
0answers
26 views

php_value in .htaccess does not work when errordocument

I am using .htaccess to extend my php include_path like: php_value include_path ".:/usr/local/lib/php:/home/dir/555/" This works fine for all my php pages that is used for the website via apache, ...
0
votes
1answer
28 views

Htaccess redirecting the opposite way?

Here's the website I am working on: http://easyclickpro.com When you hover over any of the links you see them correctly (e.g. easyclickpro.com/about/ ). But, when you click on them they are ...
1
vote
0answers
26 views

Drupal Website showing only some images

I was told to migrate a Drupal website, but I've never worked with it before so I'm having some difficulties here. I'm trying to run the site in localhost/myfolder. The URL generated for images is: ...
2
votes
3answers
63 views

htaccess query rewrite first time

I have tried many of the query to / answers from google and stack overflow, but can't find one that works for me. I have a file users.php, and when I send users.php?user=username, I want that to be ...
1
vote
1answer
16 views

Server 500 error - moved app in subfolder

I developed an application in a subfolder of my website and it worked fine. <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d ...
0
votes
3answers
38 views

Best way to allow access to members area by IP via PHP or HTACCESS or something else?

I would like to know if allowing access to a membership area would be more efficient by htaccess allow or a PHP array of ips to check against every page. I am mainly interested in performance. Are ...
0
votes
2answers
20 views

mod_rewrite: Convert Folders into Query Params

everyone. I would like to simulate a user system like Youtube's. For example, if you type youtube.com/ it will take you to their profile. I have a similar thing running currently. If you go to ...
0
votes
2answers
16 views

Disply 404 from htaccess after sending 404 header in PHP

In PHP I use the following code to indicate page not found: header("HTTP/1.0 404 Not Found");exit(); In htaccess file I have the following line to handle 404 custom document: ErrorDocument 404 ...
0
votes
1answer
43 views

codeigniter public directory in url

In example: - index.php - /system - /application - /controller - test.php (class:test ; function index() ; echo "hi") - /public - style.css I point the browser to http://mysite.com/ it ...
0
votes
2answers
27 views

Replace Htaccess popup box with a html form?

I have password-protected a directory on my website using htaccess. When I type in the URL to the folder I get a simple popup box where I can type in my info. All is fine. But what I really want to do ...
0
votes
1answer
37 views

Codeigniter .htaccess not working, show “500 Internal Server Error” messege [duplicate]

I am using wamp and in my www folder i have installed codeigniter under folder name ci. Before using .htaccess my codeigniter worked fine and i could see codeigniter welcome messege when running the ...
0
votes
1answer
26 views

Adding HTML search terms to results page URL

Currently I have a search box on site.com/search.php. A user enters in a search term and is taken to site.com/index.php which displays the results for the search terms. Except, no matter what a user ...
0
votes
0answers
18 views

Enable XDebug PHP debugger for only specific websites

I'm running a CentOS web server with suPHP and I need to enable the XDebug PHP debugger for only a few select websites. I've added the suPHP_ConfigPath setting in the .htaccess file so I can have a ...
0
votes
0answers
21 views

.htaccess Redirect Match with Regex

any help massively appreciated here. I have done some googling and can't seem to get this working so calling upon the experts. I have been using this RewriteRule: "RewriteRule ^entry/([a-zA-Z0-9-]+)$ ...
0
votes
2answers
34 views

.htaccess redirect from directory to page

i have line in my htaccess file **Redirect /popin http://www.mysite.com/category.html** so if some one enters http://www.mysite.com/popin it is redirecting to http://www.mysite.com/category.html ...

1 2 3 4 5 314
15 30 50 per page