Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Apr 02, 2014 2:45 pm 
Offline
Newbie

Joined: Wed Apr 02, 2014 2:26 pm
Posts: 3
Hello,
I just uploaded the client's website files to the VPS server. Unfortunately, most of the interior pages are not working. I am pretty sure the problem has to do with mod_rewrite not working, but the crazy thing is that some rewritten URL pages are working.

This is the site:
http://192.155.95.107/

If you click on Firm Overview link in the main nav, you will see that the page does not work. However, if you click on Practice Areas, the page works. Both of these pages have rules in the htaccess files that are rewriting the URLs.

Can you help determine the problem?

Running Ubuntu 12.04

FYI:
Re-written URL:
http://192.155.95.107/firm-overview/firm-overview

Non-rewritten URL:
http://192.155.95.107/firm-overview/ind ... m-overview

Re-written URL that works:
http://192.155.95.107/practice-areas/index


Top
   
PostPosted: Wed Apr 02, 2014 3:18 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
Some of your navs are wrong (based on your site map). Try:
http://192.155.95.107/firm-overview/index (not http://192.155.95.107/firm-overview/firm-overview)
http://192.155.95.107/attorneys/index (not http://192.155.95.107/attorneys/index-all)
http://192.155.95.107/careers/index (not http://192.155.95.107/careers/careers)

The 'practice-areas' url works, but none of the links off it do (based on your site map).

The contact-us link work, but the locations linked from it do not.

Has this site ever 'worked'? I see that it's a migration from an .asp site.


Top
   
PostPosted: Wed Apr 02, 2014 4:41 pm 
Offline
Newbie

Joined: Wed Apr 02, 2014 2:26 pm
Posts: 3
This site works fine here: http://jgl.herrmanneasyedit.com/

As soon as I transferred it to this new server many of the links did not work.


Top
   
PostPosted: Wed Apr 02, 2014 5:17 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
It sure does work right on that site. Do you have the htaccess file they were using at HEE?

Did you set everything up on your VPS with the exact same directory structure and names?


Top
   
PostPosted: Thu Apr 03, 2014 9:23 am 
Offline
Newbie

Joined: Wed Apr 02, 2014 2:26 pm
Posts: 3
I solved the issue.

In this file:

/etc/apache2/sites-available/default


I changed this:

Code:
   <Directory /var/www/>
      Options Indexes FollowSymLinks MultiViews
      AllowOverride None
      Order allow,deny
      allow from all
   </Directory>


to this:

Code:
   <Directory /var/www/>
      Options Indexes FollowSymLinks MultiViews
      AllowOverride All
      Order allow,deny
      allow from all
   </Directory>


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group