Sponsored Content
Top Forums Web Development Mod_rewrite to handle paths ? Post 303032742 by Neo on Friday 22nd of March 2019 11:28:53 PM
Old 03-23-2019
MaxtheCat,

I suggest you relax, enjoy a coffee, a beer, a glass of wine, or whatever you like and watch a few YT videos, for example:

The Net Ninja:

Node JS Tutorial for Beginners #1 - Introduction - YouTube

AngularJS Tutorial #1 - Introduction to AngularJS - YouTube

Traversy Media:

Angular Crash Course - 2019 - YouTube

Node.js Crash Course - YouTube

These tutorials will take you well on your way to understanding Angular and node.js. Thirty minutes of video tutorials will help you greatly (hours are even better) and are generally more useful, and often more entertaining, than watching a movie rerun on TV or a Netflix video.

You do not need to watch all of them or the entire series on one playlist if you do not want to learn Angular and Node, but you should at least learn the basics of what you are doing when you are installing an Angular application.

If you do not understand the basics, how can you build and deploy an Angular app?

From your posts, you seem be missing a basic understanding of what an Angular application is and how to build and deploy it. You are seemingly trying to deploy it without building it; and this is not now modern SPA applications are deployed. You must build the application using node.js, normally on your desktop, then deploy it to a web server (remotely).

Developers, like me, develop, build and deploy node.js apps like this continually, BTW. But we normally run node.js in dev mode before we build. All of that is described in the each of tutorials above. Just pick one and learn a bit about what you are trying to do.

I prefer Vue.js over Angular, but that's just my personal preference.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

mod_rewrite problem

hi i'm very new to mod_rewrite. I can't seem to have this work. I have a site which has 4 pages : home, links, adverts and contacts page. the adverts page is linked to this url http://www.xxxxxx.com/adverts.php. What i want is that whenever the adverts page is clicked , it will show... (0 Replies)
Discussion started by: arsonist
0 Replies

2. Web Development

mod_rewrite RewriteMap - possible to 404?

In my strenuous efforts to get SEO-friendly urls, I'm using a rewrite map in my apache setup: RewriteEngine on RewriteOptions MaxRedirects=5 RewriteMap seo prg:/Applications/MAMP/htdocs/map.php #map requests for the original file to the new SEO friendly urls RewriteCond... (0 Replies)
Discussion started by: sneakyimp
0 Replies

3. Web Development

mod_rewrite help

Here's my situation. When a user access the site domain.com it redirects to /portal which displays SKIN1 by default. When a user accesses the site domain.com/portal?branding=SKIN1 it displays SKIN1 by default as well. When a user access the site domain.com/portal?branding=SKIN2 it... (0 Replies)
Discussion started by: Adrnalnrsh
0 Replies

4. Web Development

Apache mod_rewrite: from 'friendly' url to actual path

I'd like to translate a friendly url such as: http://www.xxxyyyzzz.com/page/12345678/ to: http://www.xxxyyyzzz.com/page/12/34/56/78/ Seems simple enough, but I cannot figure out how. Any one done this before? (2 Replies)
Discussion started by: markericksen
2 Replies

5. Shell Programming and Scripting

Need help with mod_rewrite rule, redirect

I have to redirect http://www.domain.com/(*)/(*)-hotel-deals.html to http://www.domain.com/(*)/(*)-hotel-deals where of course (*) are dynamic. Any ideas how this could be accomplished? (0 Replies)
Discussion started by: EXT3FSCK
0 Replies

6. UNIX for Dummies Questions & Answers

Difference between handle to the thread HANDLE and thread identifier pthread_t

This question might be silly but its confusing me a bit: What is the difference between handle to the thread HANDLE and thread identifier pthread_t? ---------- Post updated at 01:52 PM ---------- Previous update was at 01:48 PM ---------- Sorry I saw details and HANDLE is in windows and... (0 Replies)
Discussion started by: rupeshkp728
0 Replies

7. Web Development

Mod_rewrite http to https

Hi Team, I have a question on the apache mod_rewrite module. I have a requirement of rewriting only specific url's to https. Requirement below:- want to match a word (test) on the url and if matches then it should rewrite to https. example:- ... (1 Reply)
Discussion started by: arumon
1 Replies

8. UNIX for Advanced & Expert Users

Apache Mod_rewrite Mystery

Hi Folks, I am running on a CentOS 6.3 server, whose primary function until recently has been my Zimbra mail server exclusively. I added wordpress and I have not been disappointed, with this one exception of Apache mod_rewrite. I have already tried to set selinux to permisive to eliminate that... (5 Replies)
Discussion started by: cjm51213
5 Replies

9. Web Development

Mod_rewrite - URL rewrite based upon HTTP_REFERER

Hello, I have added following rewrite cond and rewrite rules but it does not work. RewriteCond %{HTTP_REFERER} ^http://192\.168\.1\.150/categories/.*$ RewriteRule ^(.*)$ http://www.blahblah.com/ When I hit url : http://192.168.1.150/categories/881-Goes?page=7 in my browser - it... (2 Replies)
Discussion started by: ashokvpp
2 Replies
WebService::YouTube::Util(3pm)				User Contributed Perl Documentation			    WebService::YouTube::Util(3pm)

NAME
WebService::YouTube::Util - Utility for WebService::YouTube VERSION
This document describes WebService::YouTube::Util version 1.0.3 SYNOPSIS
use WebService::YouTube::Util; # Get an URI of RSS my $uri = WebService::YouTube::Util->rss_uri( 'global', 'recently_added' ); # Get an URI of REST API my $uri = WebService::YouTube::Util->rest_uri( $dev_id, 'youtube.videos.list_by_tag', { tag => 'monkey' } ); # Get a downloadable URI my $uri = WebService::YouTube::Util->get_video_uri('rdwz7QiG0lk'); # Get a video which type is .flv my $content = WebService::YouTube::Util->get_video('rdwz7QiG0lk'); DESCRIPTION
This is an utility for WebService::YouTube. SUBROUTINES
/METHODS rss_uri( $type, $arg ) Returns a URI of RSS. $type should be 'global' or 'tag' or 'user'. $arg is required when $type is 'tag' or 'user'. rest_uri( $dev_id, $method, \%fields ) Returns a URI of REST API. $dev_id is your developer ID of YouTube. $method is a method name like a 'youtube.*.*'. %fields can contain optional parameter. get_video_uri( $video, \%args ) Returns a downloadable URI of $video. $video should be a video ID or a WebService::YouTube::Video object. %args can contain some optional arguments. ua LWP::UserAgent object get_video( $video, \%args ) Returns a downloaded content of $video. $video should be a video ID or a WebService::YouTube::Video object. %args can contain some optional arguments. ua LWP::UserAgent object DIAGNOSTICS
type of ... is not supported No such RSS. The type should be 'global' or 'tag' or 'user'. got a page but it is invalid page Maybe, YouTube is being maintained. :-) CONFIGURATION AND ENVIRONMENT
WebService::YouTube::Util requires no configuration files or environment variables. DEPENDENCIES
WebService::YouTube, LWP::UserAgent, URI::Escape INCOMPATIBILITIES
None reported. BUGS AND LIMITATIONS
No bugs have been reported. Please report any bugs or feature requests to "bug-webservice-youtube@rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-YouTube>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. AUTHOR
Hironori Yoshida <yoshida@cpan.org> LICENSE AND COPYRIGHT
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. perl v5.10.1 2009-01-20 WebService::YouTube::Util(3pm)
All times are GMT -4. The time now is 12:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy