Installation, Configuration, & Upgrades  :: 
short url!
 Top

  • Hi, i am running a test server with debian sarg and PHP 5.2 apache2. I've mod_rewrite turn on, but when i use short URL and click on any link it gives me file not found. What else do i have to fix on apache2 to make short URL work?

    Thanks for the help in advance.
  • Did you put the htaccess in place as per the instructions for shortURLs?

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • yes hammerhead, i copied modules\Xanthia\pndocs\short_urls\phtml\.htaccess to root of PostNuke



    edited by: bbq, Dec 08, 2006 - 03:01 AM
  • check in your httpd.conf if you allow .htaccess commands, like

    Code

    <Directory />
    Options Indexes FollowSymLinks
    AllowOverride All
    </Directory>


    --
    regards from germany
    ..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..
  • Hi, larsneo
    Yes i have that and i can run .htaccess file fine, but only the short URL doesn't work and i wonder if there's something else i have to enable/disable in apache?

    larsneo

    check in your httpd.conf if you allow .htaccess commands, like

    Code

    <Directory />
    Options Indexes FollowSymLinks
    AllowOverride All
    </Directory>

  • Where do you find httpd.conf?

    I get a 403 error when I add .htaccess to my root. I'm using the right extention for the .htaccess.

    I have cPanel to access my files so I have some apache access, but I don't know what I'm doing there.

    very frustrated...
  • Sometimes it helps to read. So I read and read and read... till I was red in the face.

    I read the forum all over, up and down on apache, .htaccess, 403 and 500 errors. Finnaly I decided to just look at the .htaccess file.

    In there it says, 'The "Options FollowSymLinks" line may be deleted, since on certain hosts it causes a config error!'. So I deleted the line. Voila! It works.

    I wanted to add this comment to the forum in case someone else ever gets a headache making shorturls work.
This list is based on the users active over the last 60 minutes.