Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • U UTS Backend - System Profile
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bella Ananda Putri
  • UTS Backend - System Profile
  • Merge requests
  • !2

Merged
Created 2 years ago by Bella Ananda Putri@bellaMaintainer

change htaccess

  • Overview 0
  • Commits 1
  • Changes 3
  • Bella Ananda Putri @bella approved this merge request 2 years ago

    approved this merge request

  • Bella Ananda Putri @bella mentioned in commit 176a3d50 2 years ago

    mentioned in commit 176a3d50

  • Bella Ananda Putri @bella merged 2 years ago

    merged

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • main (base)

and
  • latest version
    5b60043c
    1 commit, 2 years ago

3 files
+ 31
- 31

    Preferences

    File browser
    Compare changes
app/Http/C‎ontrollers‎
DetailData24C‎ontroller.php‎ +8 -8
pub‎lic‎
.hta‎ccess‎ +19 -4
.hta‎ccess‎ +4 -19
app/Http/Controllers/DetailDataController.php → app/Http/Controllers/DetailData24Controller.php
+ 8
- 8
  • View file @ 5b60043c

  • Edit in single-file editor

  • Edit in Web IDE


Show all unchanged lines Show 20 lines
use App\Http\Requests\StoreDetailDataRequest;
use App\Http\Requests\UpdateDetailDataRequest;
class DetailDataController extends Controller
class DetailData24Controller extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
public function index24()
{
//
}
Show 20 lines Show all unchanged lines Show 20 lines
*
* @return \Illuminate\Http\Response
*/
public function create()
public function create24()
{
//
}
Show 20 lines Show all unchanged lines Show 20 lines
* @param \App\Http\Requests\StoreDetailDataRequest $request
* @return \Illuminate\Http\Response
*/
public function store(StoreDetailDataRequest $request)
public function store24(StoreDetailDataRequest $request)
{
//
}
Show 20 lines Show all unchanged lines Show 20 lines
* @param \App\Models\DetailData $detailData
* @return \Illuminate\Http\Response
*/
public function show(DetailData $detailData)
public function show24(DetailData $detailData)
{
//
}
Show 20 lines Show all unchanged lines Show 20 lines
* @param \App\Models\DetailData $detailData
* @return \Illuminate\Http\Response
*/
public function edit(DetailData $detailData)
public function edit24(DetailData $detailData)
{
//
}
Show 20 lines Show all unchanged lines Show 20 lines
* @param \App\Models\DetailData $detailData
* @return \Illuminate\Http\Response
*/
public function update(UpdateDetailDataRequest $request, DetailData $detailData)
public function update24(UpdateDetailDataRequest $request, DetailData $detailData)
{
//
}
Show 20 lines Show all unchanged lines Show 20 lines
* @param \App\Models\DetailData $detailData
* @return \Illuminate\Http\Response
*/
public function destroy(DetailData $detailData)
public function destroy24(DetailData $detailData)
{
//
}
Show 20 lines Show all unchanged lines
public/.htaccess
+ 19
- 4
  • View file @ 5b60043c

  • Edit in single-file editor

  • Edit in Web IDE

## Redirect to public folder
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
DirectoryIndex index.php # <--- This line
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>
\ No newline at end of file
.htaccess
+ 4
- 19
  • View file @ 5b60043c

  • Edit in single-file editor

  • Edit in Web IDE

## Redirect to public folder
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
DirectoryIndex index.php # <--- This line
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteEngine on
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]
</IfModule>
\ No newline at end of file
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
0
Labels
None
Lock merge request
Unlocked
1
1 participant
Bella Ananda Putri
Reference: bella/uts-backend-system-profile!2
Source branch: master

Menu

Projects Groups Snippets
Help