Search Result

Collapse
14 results in 0.0040 seconds.
Keywords
Members
Tags
htaccess
  •  

  • amjob
    started a topic Drupal admin area issue
    in PHP

    Drupal admin area issue

    No data received
    Unable to load the webpage because the server sent no data.
    Here are some suggestions:
    Reload this webpage later.
    Error 324 (net::ERR_EMPTY _RESPONSE): The server closed the connection without sending any data.

    this is what I get after I login to the admin area of drupal. the issue occurs whenever I click on any link on the back end. any input would be greatly appreciated.
    I read in...
    See more | Go to post

  • How to secure .htaccess links to user profiles? (vanity url)

    Hello,

    I recently decided to make .htaccess links to my user profiles so they would look something like

    http://mywebsite.com/username

    Right now I am using id to filter users, like this

    http://mywebsite.com/profile.php?id=1

    But I will need to change id to username, like so

    http://mywebsite/profile.php?username=theus er

    And then I would use .htaccess stuff to...
    See more | Go to post

  • stucker
    started a topic multiple auth provider in htaccess

    multiple auth provider in htaccess

    I would like to set up a .htaccess file so that visitors are first authenticated by LDAP, but if their login name is not in the LDAP directory, they are then authenticated against a .htpasswd file. I have both LDAP and .htaccess working; I just haven't found out how to combine these for the same site (if it's even possible).

    Any help would be appreciated!
    See more | Go to post

  • cristibodi
    started a topic .htaccess - 301 redirect

    .htaccess - 301 redirect

    I have 2 questions:

    1. How many 301 redirects are allowed in the .htaccess files?

    2. How is the loading time for a page affected by the number of 301 redirects in the .htaccess file?

    Thank you for all the answers.

    Cristian
    See more | Go to post

  • Coldfire
    started a topic How to remove string from URL using mod_rewrite

    How to remove string from URL using mod_rewrite

    I have this URL

    http://www.mysite.com/customer/city/...k12j1b32l12lj3

    I want to redirect the user to

    http://www.mysite.com/customer/city/2

    basically I need to remove this "?gclid=1kn23k1 2j1b32l12lj3" part

    I need the RewriteCond and RewriteRule for it......
    See more | Go to post

  • amskape
    started a topic How To make SEO Friendly URL
    in PHP

    How To make SEO Friendly URL

    Hi Friends , My need I depicted Below.... Please Help me how it can

    possible.


    Explanation by Example :

    Suppose, there is one website url :
    www.example.com/article.php?id= 5

    I can convert the URL in SEO friendly manner with rewrite rule in
    .htaccess file as below :
    www.example.com/article/5 [I CAN DO THIS]

    But what I want is, The name of the Article...
    See more | Go to post
    Last edited by Atli; May 16 '10, 04:12 PM. Reason: Removed excess bold formatting and the email address.

  • How to fill user/pass field of a prompted form with php?

    Hello, i've been spending some time trying to figure out a solution for the hotlinking of the videos hosted at my site, which is imposible to do trough htaccess since firefox has a bug that can't read the referrals in this particular case like IE or chrome would. Well i figured out something, in my cpanel i have the option to protect folders with an username and password, and for what i have tested so far, it works to avoid the hotlinking. So here...
    See more | Go to post

  • seegoon
    started a topic Problem using includes in subdirectories
    in PHP

    Problem using includes in subdirectories

    This must be a really basic problem for almost every site out there.

    How can I get includes to work for subdirectories (i.e. mysite.com/subdirectory/file.php) when all of my includes are stored in a /includes folder off the root directory? I've been Googling and have come across dozens of cryptic solutions.

    It would be great if it was a .htaccess thing, because I can foresee that being the simplest way. That way, you...
    See more | Go to post

  • dhruvjha
    started a topic how to make seo friendly URLs using .htaccess

    how to make seo friendly URLs using .htaccess

    I'd like to take the following URL:

    http://www.website.com/index.php?url=about-us

    and turn it into : http://www.website.com/about-us

    and aso http://www.website.com/about-us.php

    I have read / seen many tutorials, but none of them seems to work....
    See more | Go to post

  • acs8
    started a topic Getting PHP to read the clean URL created by .htaccess
    in PHP

    Getting PHP to read the clean URL created by .htaccess

    Hi there, I wonder if you can help me out.

    I'm trying to create clean URLs and so far I've managed to use .htaccess to convert the following URL:

    https://www.example.com/index.php?ca...on1&page=Page1

    into:

    www.example.com/Section1/Page1/

    The problem is then getting PHP to interpret the URL and extract the variables. Here's the code I'm using:

    .htaccess...
    See more | Go to post
    Last edited by Dormilich; Mar 9 '10, 09:41 PM. Reason: Please use [code] tags when posting code

  • fuchsia555
    started a topic .htaccess issue

    .htaccess issue

    hi everyone
    is it possible to point images to another website ?
    i mean for example:

    this domain doesn't host the image > http://domain1.com/image.gif

    this domain host the image > http://domain2.com/image.gif

    i want when i request ( http://domain1.com/image.gif ) it's point to the image on domain2

    is it possible by htaccess ?
    See more | Go to post

  • Lagon666
    started a topic How i can have a .htaccess like twitter.com?

    How i can have a .htaccess like twitter.com?

    Hi

    I wanna have a htaccess file that when i go to "www.domain .com/sometext" the page redirect to "www.domain .com/user.php?user=s ometext". It's important that is better that URL not end with slash. I have a problem with my htaccess file:

    Code:
    RewriteEngine on
    RewriteRule ^(.+)$ user.php?user=$1 [L,R]
    But when i go to to "http://localhost/jack" the page will redirect to "http://localhost/user.php?user=u ser.php"....
    See more | Go to post

  • samatair
    started a topic How to remove .php extension from URL

    How to remove .php extension from URL

    Hi
    I need to remove the .php extension using .htaccess from my URL.
    I have tried different .htaccess code by searching in the net but none is fruitful..

    I have the least idea about regular expressions. can anyone please help?

    my URL is
    http:///www.domainname.com/projectna...p/region/state

    here region and state are dynamically changing... and i want to remove .php from ...
    See more | Go to post

  • .htaccess redirects according to user/pw combination?

    Hi all,

    I need to set up an .htaccess file in a root folder that requires a username and a password, and will direct the user to a different folder depending on the username and password entered.

    E.g.:
    1. The user goes to www.example.com/
    2. They enter their username (bobsmith) and password (923r9w8c2w)
    3. They are redirected to www.example.com/bobsfolder/
    4. If a user goes to www.example.com/bobsfolder/ directly, they
    ...
    See more | Go to post
Working...