How do I create a website alias?

Author Message

Josh Rader

Thursday 17 January 2008 10:23:41 am

We are running eZ Publish on a Red Hat Enterprise Linux 4 server with Apache. Part of the website has an application for an intern program. This URL for this site is something like http://www.blah.com/career_management/intern_program. We want to make an alias so a person can type in 'http://www.blah.com/intern" and get to the site listed above, because it's a much shorter URL. How do we create this alias?

I found the .vhost file and saw there were aliases listed there. Can I just type in 'alias /intern /usr/local/httpd/career_management/blahblahblah' to create the alias? In other words, if all the files for the page we want to alias on in one folder, can i just create the alias to point to that folder and then it will go there? Is there anything else I need to do? Thanks.

Mark Marsiglio

Thursday 17 January 2008 10:49:00 am

you can do this in the admin interface, under setup. Depending on which version you are running, it is called URL Translator.

You can create shortcut URLs there.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Josh Rader

Friday 18 January 2008 5:42:28 am

Hey, can you give me some more detail on how to do this? We went to the admin interface, and put the full URL under 'system URL' and then put the shorter name we wanted under 'Virtual URL' and waited almost a full day, but the virtual URL doesn't work. We did this under 'Existing URLs' because the site already exists. Do you know why the virtual URL doesn't work? Thanks.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 04:29:05
Script start
Timing: Jan 31 2025 04:29:05
Module start 'layout'
Timing: Jan 31 2025 04:29:05
Module start 'content'
Timing: Jan 31 2025 04:29:05
Module end 'content'
Timing: Jan 31 2025 04:29:05
Script end

Main resources:

Total runtime0.0148 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.1328151.2109
Module start 'layout' 0.00630.0024 739.343836.6641
Module start 'content' 0.00870.0048 776.007890.0625
Module end 'content' 0.01350.0012 866.070333.9922
Script end 0.0148  900.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002215.1111140.0002
Check MTime0.00106.8781140.0001
Mysql Total
Database connection0.00127.865710.0012
Mysqli_queries0.003221.910230.0011
Looping result0.00000.082210.0000
Template Total0.00106.710.0010
Template load0.00085.121910.0008
Template processing0.00021.512910.0002
Override
Cache load0.00053.642810.0005
General
dbfile0.00106.737980.0001
String conversion0.00000.054840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs