Menu

#1861 Printer friendly page does not work with subdomain

open
nobody
None
5
2008-11-17
2007-12-31
Visje
No

Yesteday I reported bug:
[ 1861097 ] PHPSession cookie is faulty

I think this has something to do with it.

When I access PGV thru the subdomain I get a 404-error whenever I try to access a printer friendly page (link at the bottom of every screen.
However... If I access PGV thru the normal domain and directory everything works fine.

So thru http://stamboom.visjesweb.nl printer friendly does NOT work (404-error)
thru http://www.visjesweb.nl/stamboom it works.

I really want to use PGV by a subdomain.

Discussion

  • Anthon Pang

    Anthon Pang - 2008-04-18

    Logged In: YES
    user_id=237207
    Originator: NO

    I access my PGV site through its domain name (on a shared hosting account), but I assume the basic configuration is similar:

    In config.php, set $SERVER_URL = "http://stamboom.visjesweb.nl";

    Add the following .htaccess to your PGV root dir to redirect everything through the subdomain:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} .
    RewriteCond %{HTTP_HOST} !^stamboom\.visjesweb\.nl [NC]
    RewriteRule (.*) http://stamboom.visjeweb.nl/$1 [R=301,L]

     
  • Greg Roach

    Greg Roach - 2008-11-17
    • labels: 503772 -->
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.