Hi all,
Have anyone who has experience hiding URL and replacing them with domain name?
Example: http://<ip address>/ts/framework/published/<new project>/index.html
to
http://newProject.com
Thanks
regards,
Ketut
Create as Domain instead URL Link
Moderator: jeanmichel
- jeanmichel
- Posts: 109
- Joined: 23 May 2014, 11:37
- Location: Sydney
Re: Create as Domain instead URL Link
Hi Ketut,
If I understand correctly what you want to do is rewrite the URL from (example)
http://myproject.com/ts/framework/published/<new project>/index.html
to
http://myproject.com/myproject
for example.
If this is the case, then we don't have this feature available now on aXes. However you can request an enhancement by contacting LANSA support.
If I understand correctly what you want to do is rewrite the URL from (example)
http://myproject.com/ts/framework/published/<new project>/index.html
to
http://myproject.com/myproject
for example.
If this is the case, then we don't have this feature available now on aXes. However you can request an enhancement by contacting LANSA support.
Regards,
Jean-Michel Rapin
LANSA Pty Ltd
email: JeanMichel.Rapin@lansa.com.au
Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 http://www.lansa.com | http://blog.lansa.com |
Jean-Michel Rapin
LANSA Pty Ltd
email: JeanMichel.Rapin@lansa.com.au
Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 http://www.lansa.com | http://blog.lansa.com |
Re: Create as Domain instead URL Link
Hi Jean
Thanks for your support.
Yes, I need to access my project without ip address, directly to http://myproject.com/index.html.
Whether the aXes configuration can not be done like that?
regards
Ketut
Thanks for your support.
Yes, I need to access my project without ip address, directly to http://myproject.com/index.html.
Whether the aXes configuration can not be done like that?
regards
Ketut
Re: Create as Domain instead URL Link
Well, if your installation path in IBM i is /axes, then you just create folder /axes/myproject and there you include a index.html with the following code:
(do not forget to change the permissions *PUBLIC *R of index.html in /axes/myproject)
When you call
http://myproject.com/myproject
should do the trick…
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
window.location = "http://myproject.com/ts/framework/published/myproject/index.html"
</script>
<title>MyProject Loading...</title>
</head>
<body>
</body>
</html>When you call
http://myproject.com/myproject
should do the trick…
- jeanmichel
- Posts: 109
- Joined: 23 May 2014, 11:37
- Location: Sydney
Re: Create as Domain instead URL Link
Hi Ketut,
http://<ip address>/ts/framework/published/<new_project>/index.html
to
http://myproject.com/ts/framework/published/<new_project>/index.html
The only part of the URL is the IP address to domain name, you need to add an entry into your DNS to map to the dns name to the IP address. Nothing to do with aXes in this case. Contact your network admin for this.
2) in this case below
http://myproject.com/ts/framework/published/<new_project>/index.html
to
http://myproject.com/index.html
You cannot do that with axes because there is already a file named index.html at /<axes_install>/index.html. If you replace this file you axes instace will not work anymore.
3) In the case below
http://myproject.com/ts/framework/published/<new_project>/index.html
to
http://myproject.com/myproject
Then refer to the previous reply by Jaimoski
Hope this helps.
1) In this case belowYes, I need to access my project without ip address, directly to http://myproject.com/index.html.
http://<ip address>/ts/framework/published/<new_project>/index.html
to
http://myproject.com/ts/framework/published/<new_project>/index.html
The only part of the URL is the IP address to domain name, you need to add an entry into your DNS to map to the dns name to the IP address. Nothing to do with aXes in this case. Contact your network admin for this.
2) in this case below
http://myproject.com/ts/framework/published/<new_project>/index.html
to
http://myproject.com/index.html
You cannot do that with axes because there is already a file named index.html at /<axes_install>/index.html. If you replace this file you axes instace will not work anymore.
3) In the case below
http://myproject.com/ts/framework/published/<new_project>/index.html
to
http://myproject.com/myproject
Then refer to the previous reply by Jaimoski
Hope this helps.
Regards,
Jean-Michel Rapin
LANSA Pty Ltd
email: JeanMichel.Rapin@lansa.com.au
Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 http://www.lansa.com | http://blog.lansa.com |
Jean-Michel Rapin
LANSA Pty Ltd
email: JeanMichel.Rapin@lansa.com.au
Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 http://www.lansa.com | http://blog.lansa.com |