Skip to main content

All Questions

Tagged with
0 votes
0 answers
86 views

Multiple RewriteRule conflicts in .htaccess

We have updated our html website to angularjs app. The app uses css and js files from index.html so we need .htaccess entry for that. We all so need to setup 301 redirect in htaccess to remove .html ...
Mylsel's user avatar
  • 151
1 vote
1 answer
54 views

URL rewriting - removing folder structure displayed in URL - AngularJS+PHP

I have a web-site created in angularJS-php. I have two different index pages. One of them is "index.php" and the other one is "index.html". I have a href in login.tpm.html <a href="/member/...
Angular Devloper's user avatar
2 votes
0 answers
61 views

AJAX issue with Apache .htaccess file

I have removed the hashbang from the URL with the below code. But for an AJAX it is loading the index.html. How can I fix? I have added <base href="/"> in index.html and $locationProvider....
Krishna's user avatar
  • 1,229
0 votes
1 answer
167 views

Redirection issue for staging environment in existing production environment in Laravel + Angular 2

I have Laravel 5.2 and Angular 2 project setup and currently running on /var/www/html/ directory in AWS server with IP address http://xx.xx.xx.xx which points to /var/www/html/public/ in apache config....
Aniruddh's user avatar
0 votes
2 answers
163 views

Angular 1.4.8 Route Params htaccess

im having a problem when trying to refresh my page in second level, when has set a parameter by routing angular like this: localhost/ADMIN/page/1 where localhost/BASE_FOLDER/ROUTE/ROUT_PARAM So, i ...
Alberto Acuña's user avatar
1 vote
1 answer
153 views

Block direct access to .php but allow AngularJS $http requests

Is there any way of blocking direct access to .php files in my ctrl foler, but allowing http requests from an Angular app? I have a .htaccess with 'Deny from all' in the ctrl folder at the moment ...
Chris Wickham's user avatar
1 vote
1 answer
586 views

Angular and symfony in one dir - htaccess

I have following problem, I have in folder /var/www/html 2 dirs: app (angular application) and api(restful api and cms written in symfony3). In both directories there is appropriate htaccess for each ...
r3m4k3's user avatar
  • 182
-2 votes
1 answer
67 views

Dynamic URL angular app

I have built a SAAS using codeignighter + angular js. It is being used by multiple companies. Currently all of the code is placed in a folder under document root (/var/www/html/folder1) and site opens ...
Prince Gautam's user avatar
0 votes
2 answers
121 views

Enabling HTML5 mode to true in an angular frontend and laravel backend is not working properly

I wanted to remove "#!" from my website URL. And I was able to set it up perfectly and it's working. The problem is when I go to any sub URL apart from home and reload the page, then it says page ...
Gaurav Roy's user avatar
0 votes
3 answers
275 views

Using Sendgrid API with Wordpress

I'm trying to use the Sendgrid API on Wordpress, but getting this error when inspecting. XMLHttpRequest cannot load https://api.sendgrid.com/v3/mail/send. Response to preflight request doesn't pass ...
user3491596's user avatar
0 votes
0 answers
63 views

.htaccess remap redirect on different subdomain

I am trying to make my AngularJS application discoverable by social networks, and I've came across the following github page: https://github.com/michaelbromley/angular-social-demo However I got ...
rossanmol's user avatar
  • 1,653
0 votes
1 answer
129 views

How to escape subfolder in slim3 framework being routed by slim3

I have a project built with slim 3 and is working as expected (http://localhost/slimapp/). Now what I want to do is in one of the subfolder run an Angular2 application. But as I try to access the ...
Niranjan Nimbalkar's user avatar
3 votes
1 answer
126 views

Yii2 + AngularJS PrettyURL enable to work

I'm using Yii2 with AngularJS. I have to call different pages like about us, contact us etc. But my Pretty URL not working Properly. I need PrettyUrl like this: localhost/angularjsyii/frontend/web/...
Akkie's user avatar
  • 39
5 votes
2 answers
7k views

Laravel routes not working on production

I've a Laravel5/angularJS app (beeing Laravel as an api rest and angular for the front-end) At my local environment everything works like charm. But when i upload to a hosting i can only access to ...
Padron Leandro's user avatar
0 votes
1 answer
119 views

How to configure wordpress blog in subdirectory when the main site has angular 1.5 pretty URL

I have a website deployed in Apache: http://mysite.test. I need to configure wordpress at http://mysite.test/blog. I tried to configure it with alias, but it keep redirecting to the default page of ...
iulia zidaru's user avatar

15 30 50 per page
1
2 3 4 5