Tagged Questions
-3
votes
0answers
27 views
AJAX not working after rewrite using htaccess
HTML CODE
<div class="caption" onClick="getImages('annual-showcase-2013','RMAD\'s 1st Annual Showcase \'2013')">
<span>1<sup>st</sup> Annual Showcase ...
2
votes
1answer
21 views
rewriting www to non-www and index.php CI
I am using CodeIgnter, as for a result all my links are like base.com/index.php/home/index or www.base.com/index.php/home/index.
I would like to display them only as base.com/home/index if possible.I ...
0
votes
3answers
30 views
Protect PDF docs from being directly accessed in URL
I want to protect a pdf file from being directly linked but instead have my logged in users be able to access it. I have a link which currently goes to a javascript function which posts a form:
...
0
votes
1answer
26 views
Url Rewriting not working with cakephp
I have an application , stored in a sub directory of my domain v2. I have set up my .htaccess file as follows (in the directory mydomain.com)
Options +FollowSymLinks
RewriteEngine On
RewriteRule ...
2
votes
1answer
13 views
Apache mod Rewrite: how to rewrite these URLs to make clean URL
I'm trying do following rewrite from last two days.
Force to use www.example.com - done
Hide PHP extension - done but not sure that it's a good way
404 error to custom page - done
Now my main ...
1
vote
2answers
29 views
htaccess rule conflict with another rule
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]*)$ product.php?ref=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond ...
0
votes
4answers
25 views
Deny access to one specific folder in .htaccess
I'm trying to deny users from accessing the "site/includes" folder by manipulating the URL.
I don't know if I have to deny everything and manually make individual exceptions to allow, if I can just ...
-2
votes
0answers
18 views
How do I install Magento to a domain that is not at the webroot?
I have 2 domains hosted with my hosting company. Domain 1, let's call it www.domain1.com, is hosted in the Webroot. Domain 2, let's call it www.domain2.com, is hosted in a sub folder of domain 1 named ...
0
votes
1answer
19 views
How to disable CodeIgniter routes for certain directory?
Similar questions have been asked, but I want to find a way to do this, without changing .htaccess, but by changing routes.php.
I have wordpress installed as a subdirectory, where the root is ...
0
votes
2answers
28 views
Enable PHP short tags using .htaccess
I have Apache set up on my own Centos server with several virtual web servers, and I wish to enable PHP short tags for only one of those web servers which is located at /var/www/ostickets/html. I can ...
0
votes
0answers
28 views
PHP Header 301 redirect does nothing after sleep?
The whole idea is to create a form that makes a image in the php and then you have a confirmation page to send it as an email.
It works on my web hosting service , but it fails to work on my computer ...
0
votes
1answer
22 views
CDN - How to compress JS file
I wondering how jquery CDN can make its file send with lightweight size. But if i copy it or download the code to my computer and access it locally, The file become bigger.
Story 1
Then i try to ...
1
vote
0answers
56 views
How do I change the url?
http://www.travelpunk.com/blog/hostel-details/?hname=Jugend+%?+Familieng%C?%A?stehaus+Bregenz&city=Bregenz&date_st=?+Oct+?&date_end=?+Oct+?&num=?&propnum=?&guestnum=?
this is ...
2
votes
3answers
40 views
please help rewrite url page wordpress
I have created a page in wordpress
www.xxxxx.com/asin/
and I have made a template with the name asin.php
url into
www.xxxxx.com/asin/?q=B0081HBX2I
be
www.xxxxx.com/asin/q/B0081HBX2I
Already ...
0
votes
3answers
20 views
Rewrite URL of custom php based E-Commerce Website
I have experimented a lot already however they did not work for me, so i have to put this query for which i need very specific solutions.
No CMS is used. The website is an eCommerce site developed ...