Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unusual localhost problem w/image links changing.


dragon5

Recommended Posts

Posted

I installed my store locally, configured my configs.php files and the site loads locally. All thumbs on my index page load properly, but the image links have changed?

 

When viewing one of the thumbs properties I get the following:

 

http://localhost/catalog/xxxxxxxx-p-1668.htm for the 'address'

 

and:

 

http://localhost/catalog/images/xxxxxxxx.jpg for the 'location'.

 

As you can see, the 'address' should be catalog/images/xxxxxx etc..... and NOT just catalog/xxxxxxx etc.....

 

Consquently, when attempting to access any of the image/products I get the following NOT FOUND error:

 

The requested URL /catalog/xxxxxxxx-p-1575.html was not found on this server.

Any help would be appreciated.

Thanks

Tom

Posted

catalog/images/some_image.jpg is correct.

 

Your problem is that you have installed Ultimate SEO URL's without editing your servers httpd.conf file to allow them to operate.

 

Vger

Posted
catalog/images/some_image.jpg is correct.

 

Your problem is that you have installed Ultimate SEO URL's without editing your servers httpd.conf file to allow them to operate.

 

Vger

 

Thanks. Ok, I've been through that file twice and I'll be darned if I can figure out what to look for/change?

Tom

Posted

You need to uncomment this line:

LoadModule rewrite_module modules/mod_rewrite.so

 

then make these changes:

 

<Directory />
Options IncludesNOEXEC Indexes FollowSymLinks MultiViews
AllowOverride AuthConfig Limit Options Indexes FileInfo
Order allow,deny
Allow from localhost 127.0.0.1
</Directory>

 

Options Indexes FollowSymLinks SymLinksifOwnerMatch MultiViews IncludesNOEXEC

 

AllowOverride AuthConfig Limit Indexes FileInfo Options

 

I think that's it for the main server config, but back up your httpd.conf file before making changes, shut down and restart apache after you've made them and if the server goes into a spin then shut down apache and restore the backed up file.

 

Vger

Posted
You need to uncomment this line:

LoadModule rewrite_module modules/mod_rewrite.so

 

then make these changes:

 

<Directory />
Options IncludesNOEXEC Indexes FollowSymLinks MultiViews
AllowOverride AuthConfig Limit Options Indexes FileInfo
Order allow,deny
Allow from localhost 127.0.0.1
</Directory>

 

Options Indexes FollowSymLinks SymLinksifOwnerMatch MultiViews IncludesNOEXEC

 

AllowOverride AuthConfig Limit Indexes FileInfo Options

 

I think that's it for the main server config, but back up your httpd.conf file before making changes, shut down and restart apache after you've made them and if the server goes into a spin then shut down apache and restore the backed up file.

 

Vger

 

 

Vger, Thanks but that doesn't seem to do it. localhost remains the same. Here should be the oertinent section of httpd:

 

# First, we configure the "default" to be a very restrictive set of

# permissions.

#

<Directory />

Options IncludesNOEXEC Indexes FollowSymLinks MultiViews

AllowOverride AuthConfig Limit Indexes FileInfo Options

Order allow,deny

Allow from localhost 127.0.0.1

</Directory>

#

# Note that from this point forward you must specifically allow

# particular features to be enabled - so if something's not working as

# you might expect, make sure that you have specifically enabled it

# below.

#

#

# This should be changed to whatever you set DocumentRoot to.

#

<Directory "${path}/www">

#

# This may also be "None", "All", or any combination of "Indexes",

# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".

#

# Note that "MultiViews" must be named *explicitly* --- "Options All"

# doesn't give it to you.

#

Options Indexes FollowSymLinks Includes

 

Yes, I did uncomment 'LoadModule' ect....

 

Tom

Posted
Can I just 'turn off SEO Urls? Don't need locally?

 

Nope. Tried that. Now getting 'page not redirecting properly'

Posted
Nope. Tried that. Now getting 'page not redirecting properly'

 

Any other thoughts on this issue would be appreciated. Cannot make any changes to my live shop until working locally

Thanks

Posted
Any other thoughts on this issue would be appreciated. Cannot make any changes to my live shop until working locally

Thanks

 

 

Fixed myself by uninstalling SEO Urls

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...